Subject: wget 1.4.5 patch
From: [email-masked]

16 Jun 1997 19:53:09 -0700
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: [email-masked]
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: [email-masked]

--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.....

							[email-masked]

--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 [email-masked] 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
"[email-masked]" with one line of text: "help".