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

2006-10-18 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
Yeah. It was exactly the issue of not binmoding STDOUT. Patch attached - it seems to fix the problem. Fi. On 10/16/06, Fi Dot [EMAIL PROTECTED] wrote: On 10/16/06, Willener, Pat [EMAIL PROTECTED] wrote: What you describe looks like Windows ASCII mode. I thought (from the description on the

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

2006-10-15 Thread Willener, Pat
What you describe looks like Windows ASCII mode. I thought (from the description on the wget site) that BINARY mode was the default? Can you try to explicitly specify either type=I or type=a and see what you get? -Original Message- From: Fi Dot [mailto:[EMAIL PROTECTED] Sent: