delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/11/11:27:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <rcampbell AT tropicnetworks DOT com>
Subject: Re: Weird wget behaviour
Date: Fri, 11 Apr 2003 11:27:26 -0400
Lines: 38
Message-ID: <b76ms5$l1c$1@main.gmane.org>
References: <0F449B2335527F448ADEF0999D16FC0325E6B2 AT si-lju-ex01 DOT StorScape DOT com>
Mime-Version: 1.0
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/

- Raw text -


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