Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: BUG #3054: getopt_long () misbehaviour



"Tux" <h(dot)m(dot)brand(at)xs4all(dot)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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group