Re: Opening stdin/stdout in binary mode on Windows

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Opening stdin/stdout in binary mode on Windows
Дата
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3412A7600@Herge.rcsinc.local
обсуждение исходный текст
Ответ на Opening stdin/stdout in binary mode on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Opening stdin/stdout in binary mode on Windows  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Opening stdin/stdout in binary mode on Windows
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Opening stdin/stdout in binary mode on Windows