From: cuma@cuma.SNMG.net
Subject: wget 1.4.5 patch
16 Jun 1997 19:53:09 -0700
Sender: mail@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199706162321.HAA29200.cygnus.gnu-win32@solaris.net.ncu.edu.tw>
Original-To: gnu-win32@cygnus.com
X-Mailer: ELM [version 2.4ME+ PL31 (25)]
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=ELM866503260-29194-0_
Content-Transfer-Encoding: 7bit
Original-Sender: owner-gnu-win32@cygnus.com


--ELM866503260-29194-0_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


	Here is my little patch for wget 1.4.5

	to fix user-id problem and to add include <errno.h> in config.h

	run patch before you ./configure it.....


							cuma@cuma.SNMG.net

--ELM866503260-29194-0_
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: attachment; filename=wget-1.4.5.patch
Content-Description: wget-1.4.5.patch
Content-Transfer-Encoding: 7bit

diff -cr ../wget-1.4.5/config.h.in ./config.h.in
*** ../wget-1.4.5/config.h.in	Tue Apr 22 12:23:43 1997
--- ./config.h.in	Thu Jun 12 04:34:41 1997
***************
*** 201,203 ****
--- 201,204 ----
  #endif /* HAVE_STRERROR */
  
  #endif /* CONFIG_H */
+ #include <errno.h>
diff -cr ../wget-1.4.5/src/host.c ./src/host.c
*** ../wget-1.4.5/src/host.c	Sun Feb 16 03:22:55 1997
--- ./src/host.c	Tue Jun 17 07:03:11 1997
***************
*** 433,441 ****
--- 433,444 ----
        first = 0;
        if (!mycuserid(address))
        {
+ 	 strcpy(address,"proxy");
+ /* patch by cuma@csie.ncu.edu.tw to fix user-id problem on win95
  	 if (!opt.quiet)
  	    fprintf(stderr, "Cannot determine user-id.\n");
  	 exit(1);
+ */
        }
        i = strlen(address);
        address[i++] = '@';
Only in ./: wget-1.4.5.patch

--ELM866503260-29194-0_--
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
