aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-05-05 10:08:03 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-05-05 12:01:40 +0200
commit8b5e879445a7974a27151504316a69bcd51a4296 (patch)
treef53dec45b4dcfa63d70f3d5ced308ddea6e73c3a
parent15784e0adad01d9f2f312645e73920c39063daa0 (diff)
downloadman-pages-8b5e879445a7974a27151504316a69bcd51a4296.tar.gz
getopt.3: Remove crufty BUGS section
This piece of text in the man page is ancient (from man-pages-1.20, circa 1998), and odd in the sense that it describes a bug in POSIX that was (long ago) subsequently fixed. As the standards committee noted, POSIX here seemed to deviate from existing practice. The simplest fix is to just remove this BUGS section. See https://bugzilla.kernel.org/show_bug.cgi?id=90261 Reported-by: Guy Harris <guy@alum.mit.edu> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/getopt.37
1 files changed, 0 insertions, 7 deletions
diff --git a/man3/getopt.3 b/man3/getopt.3
index 5dff8cd4e8..550d5ba98c 100644
--- a/man3/getopt.3
+++ b/man3/getopt.3
@@ -380,13 +380,6 @@ routine that rechecks
.B POSIXLY_CORRECT
and checks for GNU extensions in
.IR optstring .)
-.SH BUGS
-The POSIX.2 specification of
-.BR getopt ()
-has a technical error described in POSIX.2 Interpretation 150.
-The GNU
-implementation (and probably all other implementations) implements the
-correct behavior rather than that specified.
.SH EXAMPLE
.SS getopt()
The following trivial example program uses