Re: Weird behavour of wget on Win32 while outputting file to stdout

2006-10-17 Thread Doug Kaufman
On Mon, 16 Oct 2006, Fi Dot wrote: > Yeah. It was exactly the issue of not binmoding STDOUT. > > Patch attached - it seems to fix the problem. I think that patch is a start, but is incomplete. The wget code already uses O_BINARY rather than _O_BINARY. Also, you don't want binary output to go to

Re: Weird behavour of wget on Win32 while outputting file to stdout

2006-10-16 Thread Fi Dot
aturday, October 14, 2006 2:17 AM > To: wget@sunsite.dk > Subject: Weird behavour of wget on Win32 while outputting file to stdout > > Hi, many-respected all! > > Recently, playing with wget on win32 (version 1.10.2, downloaded from > http://users.ugent.be/~bpuype/wget/

RE: Weird behavour of wget on Win32 while outputting file to stdout

2006-10-15 Thread Willener, Pat
: Saturday, October 14, 2006 2:17 AM To: wget@sunsite.dk Subject: Weird behavour of wget on Win32 while outputting file to stdout Hi, many-respected all! Recently, playing with wget on win32 (version 1.10.2, downloaded from http://users.ugent.be/~bpuype/wget/ ), I have encountered a problem which I'd

Weird behavour of wget on Win32 while outputting file to stdout

2006-10-13 Thread Fi Dot
Hi, many-respected all! Recently, playing with wget on win32 (version 1.10.2, downloaded from http://users.ugent.be/~bpuype/wget/ ), I have encountered a problem which I'd like to share with ya. When I do wget -O - http://foo/bar the stream I get on STDOUT is corrupt. Let's say, I do wget -O