Re: [HACKERS] Win32 WEXITSTATUS too

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Win32 WEXITSTATUS too
Дата
Msg-id 200701231511.l0NFBwF02429@momjian.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Win32 WEXITSTATUS too  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: [HACKERS] Win32 WEXITSTATUS too  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-patches
Magnus Hagander wrote:
> > > I think that's incorrect information to the user :-(
> > > If the child terminates with exit(1), we will then say "child process
> > > was terminated by exception 1. This seems to be a bug", which is clearly
> > > not true.
> > >
> > > Unless you know a sure way of determining if the exitcode is a normal
> > > exitcode or an exception code.
> >
> > Current CVS believes values >= 0x100 are non-exit() terminations.
>
> Why does it do that :-) That's clearly wrong. There are plenty of
> exitcodes > 0x100 that aren't exceptions.

Please read include/port/win32.h comment section on this and then reply.
We only care about non-exit() exits.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: [HACKERS] Win32 WEXITSTATUS too
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [HACKERS] Win32 WEXITSTATUS too