Mail Archives: cygwin/1997/06/16/19:53:09
--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 -