svn commit: r187713 - head/sbin/ipfw
Joerg Sonnenberger
joerg at britannica.bec.de
Mon Jan 26 06:45:47 PST 2009
On Mon, Jan 26, 2009 at 02:03:39PM +0000, Luigi Rizzo wrote:
> Some implementations of getopt() expect that argv[0] is always the
> program name, and ignore that entry. ipfw2.c code instead skips
> this entry and starts with options at offset 0, relying on a more
> tolerant implementation of the library.
This is not true. Some (aka GNU) implementation consider optind = 0 as
reset condition.
Joerg
More information about the svn-src-all
mailing list