Re: CVS HEAD

Поиск
Список
Период
Сортировка
От Patrick Samson
Тема Re: CVS HEAD
Дата
Msg-id 20040414075709.81934.qmail@web60310.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: CVS HEAD  (Claudio Natoli <claudio.natoli@memetrics.com>)
Список pgsql-cygwin
FYI, similar problem reported, 21 mar 2004, in
"How many fds can *you* open?"
http://cygwin.com/ml/cygwin/2004-03/msg00984.html

But cfg terminated the thread with rudeness. :(

--- Claudio Natoli <> wrote:
>
>
> > I'm seeing PostgreSQL 7.4.2's postmaster SEGV on
> startup under 1.5.9-1
> > too.  AFAICT, the stackdump indicates the problem
> is in the
> > Cygwin DLL.
>
> Well, that confirms things. 7.4.2 includes a
> repeated call to dup(0) to get
> an estimate for the max number of fds, whilst 7.4.1
> does not.
>
> Code like that below should not SEGV, IMNSHO. Want
> me to push this over to
> the cygwin list?
>
>
> #include <errno.h>
>
> int main(void)
> {
>     int i;
>     for (i = 0; ; i++)
>     {
>         printf("i = %d\n",i);
>         if (dup(0) < 0)
>         {
>             printf("dup failed\n");
>             return -1;
>         }
>     }
>     return 0;
> }
>





__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

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

Предыдущее
От: "Leeuw van der, Tim"
Дата:
Сообщение: Re: shutting down ipc-daemon2?
Следующее
От: Jason Tishler
Дата:
Сообщение: Re: CVS HEAD