Re: BUG #3054: getopt_long () misbehaviour

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3054: getopt_long () misbehaviour
Дата
Msg-id 11736.1172208178@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #3054: getopt_long () misbehaviour  ("Tux" <h.m.brand@xs4all.nl>)
Список pgsql-bugs
"Tux" <h.m.brand@xs4all.nl> writes:
> Might be some deep down misbehaving system library, but on HP-UX 11.00 (not
> on 11.11, and/or 11.23) getopt_long () misbehaves in that it causes all
> command line utilities to se the program name as the first argument,

Hmm.  The Single Unix Spec,
http://www.opengroup.org/onlinepubs/007908799/xsh/getopt.html
saith

> The variable optind is the index of the next element of the argv[]
> vector to be processed. It is initialised to 1 by the system, ...

so it's extremely hard to see how your report demonstrates anything
except that HPUX 11.00 is broken.  I'm not very interested in
memorializing a hack workaround for a bug in a libc version that HP
obsoleted years ago...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #3037: strange behave of CHECK constraint
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #3039: install completely but can't connect to server