Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Rolf Campbell Subject: Re: Weird wget behaviour Date: Fri, 11 Apr 2003 11:27:26 -0400 Lines: 38 Message-ID: References: <0F449B2335527F448ADEF0999D16FC0325E6B2 AT si-lju-ex01 DOT StorScape DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en In-Reply-To: <0F449B2335527F448ADEF0999D16FC0325E6B2@si-lju-ex01.StorScape.com> Marko Daris wrote: > Hi, > > I'm using cygwin's wget (1.8.2) to mirror some web sites... I found an > url which stops (cygwins) wget: > wget http://www.uga.edu/ethnobot/Con.html > > First the behaviour was that when I run the command some parts of this > page were dumped on standard output (note: I don't have a .wgetrc file) > which is very strange since wget only outputs progress/statistics and > not the downloaded page... Wget did not finish but hanged forrever (did > not notice any cpu load). > > I then thought it was a cygwin bug and reinstalled cygwin completely (10 > Apr 2003). Now what happens is that there is no ouput but the command > hangs as before - it never returns. > > I did a crosscheck on linux (debian) with wget 1.8.1 and the page is > downloaded as expected and wget terminates. I also checked on solaris > 2.6 wget 1.8.2 and works ok. > > I suspect the problem is somewhere in cygwin.... > > I'm worried that this could be some buffer overrun (because of the > behaviour) or something in the realization of cygwin sockets. > > Let me know... > > Best regards, > > Marko Oh, oh, I think I know what it is! I bet it's because basename of the local filename is called "CON". That's a reserved word in Windows. It means console. Not a cygwin bug, a windows feature. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/