Re: [PATCHES] Bad bug in fopen() wrapper code

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: [PATCHES] Bad bug in fopen() wrapper code
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FC16@algol.sollentuna.se
обсуждение исходный текст
Ответ на Re: [PATCHES] Bad bug in fopen() wrapper code  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
> > > > I agree that this code is both wrong and unreadable
> (although in
> > > > practice the _setmode will probably never fail, which
> is why our
> > > > attention hasn't been drawn to it).  Is someone going
> to submit a
> > > > patch?  I'm hesitant to change the code myself since
> I'm not in a
> > > > position to test it.
> > >
> > > I can look at fixing that. Is it something we want to do
> for 8.2, or
> > > wait until 8.3? If there's a hidden bug, I guess 8.2?
> >
> > Magnus, is this the right fix?
>
> Claudio sent me some small updates to the patch;  updated
> version attached.

Tested, passes all regression tests on MingW.

//Magnus

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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: src/tools/msvc usage instructions
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Another idea for dealing with cmin/cmax