delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/16/19:53:09

From: cuma AT cuma DOT SNMG DOT net
Subject: wget 1.4.5 patch
16 Jun 1997 19:53:09 -0700 :
Sender: mail AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199706162321.HAA29200.cygnus.gnu-win32@solaris.net.ncu.edu.tw>
Original-To: gnu-win32 AT cygnus DOT com
X-Mailer: ELM [version 2.4ME+ PL31 (25)]
MIME-Version: 1.0
Original-Sender: owner-gnu-win32 AT cygnus DOT 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 AT cuma DOT SNMG DOT 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 AT csie DOT ncu DOT edu DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019