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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to