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, Sep 30, 1:41 PM
Unknown Object (File)
Mon, Sep 30, 1:33 PM
Unknown Object (File)
Mon, Sep 30, 1:33 PM
Unknown Object (File)
Fri, Sep 27, 5:43 PM
Unknown Object (File)
Fri, Sep 20, 3:47 PM
Unknown Object (File)
Thu, Sep 19, 1:34 AM
Unknown Object (File)
Sat, Sep 7, 12:54 AM
Unknown Object (File)
Aug 28 2024, 9:37 PM

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