Page MenuHomeFreeBSD

getopt_long(3): note an inconsistency with getopt(3) in BUGS
ClosedPublic

Authored by kevans on Dec 24 2022, 6:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 2:33 AM
Unknown Object (File)
Sun, May 17, 12:58 PM
Unknown Object (File)
Sun, May 17, 9:54 AM
Unknown Object (File)
Sun, May 17, 7:36 AM
Unknown Object (File)
Fri, May 8, 9:58 AM
Unknown Object (File)
Tue, May 5, 9:28 AM
Unknown Object (File)
Wed, Apr 29, 10:35 AM
Unknown Object (File)
Wed, Apr 29, 10:28 AM

Details

Summary

getopt_long(3) will not allow an optind setting of 0 to be bug-for-bug
compatible with the GNU implementation, as some software does rely on
it. Document it as a BUG, since it affects previous declarations of
compatibility with getopt(3).

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable