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 6EE64EF3AB31D5448D0007DD34EEB3412A7600@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
List pgsql-hackers-win32
Bruce wrote:
> Well, that is a nifty trick.  Great to have that solved with no
> documentation changes required.
>
> Without this fix we were going to have tons of headaches.

This is pretty standard m.o. in porting unix applications to win32, or
even in console mode win32 apps that need to support binary redirection.
I almost suggested this (setmode), but stupidly assumed it must have
been attempted and discarded for reasons unknown at an earlier time :-).

Merlin

pgsql-hackers-win32 by date:

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