cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: djgpp patches

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Tue, 16 Dec 2003 15:18:26 +0100

"Daniel Stenberg" <daniel-curl_at_haxx.se> said:

> Nice! Two questions though:
>
> The lib/makefile.dj changes of the dependencies include lots of dependenices
> on OpenSSL headers in /net/openssl.098/*. Is that really clever to have in the
> makefile?

Okay, I've removed the dependency on OpenSSL and zlib.

> I've noticed before that your patches uses backslashes instead of slashes for
> directory separation. My patch utility does not understand them as path
> separators. Would you be able to provide patches using forward slashes? It's
> not a big deal, but I thought I'd at least ask!

I've revised the diffs.djgpp using MSYS' diff. But just copy the *.dj files
from the .gzip file. Diff of url.c is simply:

--- CVS-latest/lib/url.c Tue Dec 16 14:47:27 2003
+++ ./lib/url.c Tue Dec 16 14:40:34 2003
@@ -2768,7 +2768,7 @@
     if(Curl_parsenetrc(conn->hostname,
                        user, passwd,
                        data->set.netrc_file)) {
- infof(data, "Couldn't find host %s in the .netrc file, using defaults",
+ infof(data, "Couldn't find host %s in the .netrc file, using defaults\n",
             conn->hostname);
     }
     else
@@ -3281,7 +3281,7 @@

       infof(data, "Re-used connection seems dead, get a new one\n");

- conn->bits.close = TRUE; /* enforce close of this connetion */
+ conn->bits.close = TRUE; /* enforce close of this connection */
       result = Curl_done(conn); /* we are so done with this */

---------

All files now also uses Unix line-termination (hence the long diff
in some files). The makefile.dj files should probably be renamed
to Makefile.dj, but DOS/Windows doesn't care (only some Unix-centric
Msys tools).

--gv

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

Received on 2003-12-16