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-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs Date: Mon, 14 Apr 2003 11:03:55 +0200 (CEST) From: Ronald Landheer-Cieslak X-X-Sender: ronald AT localhost DOT localdomain To: cygwin AT cygwin DOT com Subject: Re: Weird wget behaviour In-Reply-To: <20030411164555.GA6789@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 11 Apr 2003, Christopher Faylor wrote: > On Fri, Apr 11, 2003 at 11:56:39AM -0400, Igor Pechtchanski wrote: >> On Fri, 11 Apr 2003, Ronald Landheer-Cieslak wrote: >>> On Fri, 11 Apr 2003, Rolf Campbell wrote: >>>> Marko Daris wrote: >>>>> 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 >>>> 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. >>> That would explain gettong the contents on screen, but not the hanging, >>> would it? >> It might, actually. I suspect stat() & co are a bit broken with >> respect to special names (e.g., con, prn, and others). > I doubt it. Maybe wget noticed that con.html existed and tried to read > something from it. According to the strace snippet I sent, it looks more like it's trying to get a filename right (to open the file?), and failing to do so. When I tried it, I didn't get any output to the screen (so probably nothing had been written to con yet - or might that be me using rxvt?) As I didn't use the -k option, it shouldn't try to read either.. ... rlc -- 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/