- _ _ ____ _
- ___| | | | _ \| |
- / __| | | | |_) | |
- | (__| |_| | _ <| |___
+ _ _ ____ _
+ ___| | | | _ \| |
+ / __| | | | |_) | |
+ | (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
To Think About When Contributing Source Code
If you have modified a single file, try something like:
- diff -u undmodified-file.c my-changed-one.c > my-fixes.diff
+ diff -u unmodified-file.c my-changed-one.c > my-fixes.diff
If you have modified several files, possibly in different directories, you
can use diff recursively:
- diff -ur curl-original-dir curl-modfied-sources-dir > my-fixes.diff
+ diff -ur curl-original-dir curl-modified-sources-dir > my-fixes.diff
The GNU diff and GNU patch tools exist for virtually all platforms, including
- all kinds of unixes and Windows:
+ all kinds of Unixes and Windows:
For unix-like operating systems:
Make the sources in the src/ drawer be a "win32 console application"
project. Name it curl.
- With VC++, add 'ws2_32.lib' to the link libs when you build curl!
- Borland seems to do that itself magically. Of course you have to make
- sure it links with the libcurl too!
-
For VC++ 6, there's an included Makefile.vc6 that should be possible
to use out-of-the-box.
- Microsoft note: add /Zm200 to the compiler options to increase the
- compiler's memory allocation limit, as the hugehelp.c won't compile
- due to "too long puts string".
-
With SSL:
http://www.gzip.org/zlib/
+
+ LocalWords: MingW