Re: Opening stdin/stdout in binary mode on Windows

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Opening stdin/stdout in binary mode on Windows
Дата
Msg-id 200502021835.j12IZux04890@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Opening stdin/stdout in binary mode on Windows  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Список pgsql-hackers-win32
Merlin Moncure wrote:
> 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 :-).

I had never heard of it before.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Opening stdin/stdout in binary mode on Windows
Следующее
От: Dmitry Konnov
Дата:
Сообщение: minGW compilation does not produce postmaster.exe