Re: bug in connect.c

2004-02-06 Thread Manfred Schwarb
Interesting. Is it really necessary to zero out sockaddr/sockaddr_in before using it? I see that some sources do it, and some don't. I was always under the impression that, as long as you fill the relevant members (sin_family, sin_addr, sin_port), other initialization is not necessary. Was I

Bug in 1.9.1? ftp not following symlinks

2003-12-09 Thread Manfred Schwarb
hi i tried to download the following: wget ftp://ftp.suse.com/pub/suse/i386/7.3/full-names/src/traceroute-nanog_6.1.1-94.src.rpm this is a symbolic link. downloading just this single file, wget should follow the link, but it creates only a symbolic link. excerpt from man wget, section

Translations for 1.9.1

2003-11-17 Thread Manfred Schwarb
Hi, I just installed wget 1.9.1, works fine. But on my machine, translations are broken somehow, all special characters are scrambled. With wget 1.9 this didn't happen. Example from de.po: #: src/convert.c:439 #, c-format msgid Cannot back up %s as %s: %s\n msgstr Anlegen eines Backups von »%s«

Re: if anything bad happens, return non-zero

2003-11-17 Thread Manfred Schwarb
$ wget --spider BAD_URL GOOD_URL; echo $? 0 $ wget --spider GOOD_URL BAD_URL; echo $? 1 I say they both should be 1. If anything bad happens, return 1 or some other non-zero value. I'm glad I'm not the only one to complain about this issue. I wasted a lot of time taiming my downloads just

Re: Translations for 1.9.1

2003-11-17 Thread Manfred Schwarb
It's normal. de.po is written in UTF-8. Use e.g cat de.po | iconv -f UTF-8 -t CP850 to display correctly, but gettext should handle this fine. I see. Thanks a lot for your hint. Probably my gettext is just too old. A remark about this issue in the README or INSTALL file would be great.

Re: Translations for 1.9.1

2003-11-17 Thread Manfred Schwarb
Manfred Schwarb [EMAIL PROTECTED] writes: I just installed wget 1.9.1, works fine. But on my machine, translations are broken somehow, all special characters are scrambled. With wget 1.9 this didn't happen. There was no change in handling translation from 1.9 to 1.9.1, except

BUG in --timeout (exit status)

2003-10-02 Thread Manfred Schwarb
Hi, doing the following: # /tmp/wget-1.9-beta3/src/wget -r --timeout=5 --tries=1 http://weather.cod.edu/digatmos/syn/ --11:33:16-- http://weather.cod.edu/digatmos/syn/ = `weather.cod.edu/digatmos/syn/index.html' Resolving weather.cod.edu... 192.203.136.228 Connecting to

Re: BUG in --timeout (exit status)

2003-10-02 Thread Manfred Schwarb
OK, I see. But I do not agree. And I don't think it is a good idea to treat the first download special. In my opinion, exit status 0 means everything during the whole retrieval went OK. My prefered solution would be to set the final exit status to the highest exit status of all individual