This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Weird wget behaviour

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
>>>> 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..



Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]