This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

wget 1.4.5 patch



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]