Re: Opening stdin/stdout in binary mode on Windows - Mailing list pgsql-hackers-win32

From Merlin Moncure
Subject Re: Opening stdin/stdout in binary mode on Windows
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3412A75E7@Herge.rcsinc.local
Whole thread Raw
In response to Opening stdin/stdout in binary mode on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Opening stdin/stdout in binary mode on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Opening stdin/stdout in binary mode on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers-win32
Tgl wrote:
> I wrote:
> > Can anyone suggest a way that does work to do binary I/O
> > on stdout?  What about reading from stdin?
>
> After a bit of googling I came up with the attached patch.  I am not
in
> a position to test it, however.  Can anyone try it out?

I'll test...is there a quick way to reproduce the error?
Merlin


pgsql-hackers-win32 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Opening stdin/stdout in binary mode on Windows
Next
From: Tom Lane
Date:
Subject: Re: Opening stdin/stdout in binary mode on Windows