summaryrefslogtreecommitdiff
path: root/src/lib/libc/string
diff options
context:
space:
mode:
authorbrad <>2004-02-13 07:14:52 +0000
committerbrad <>2004-02-13 07:14:52 +0000
commitec3df9335c2be86d2de19f2111bf4a15736c11bc (patch)
tree6425cbada60a5fdd1132da150868f8099764afd5 /src/lib/libc/string
parent78ab25ab025c9fed3071a88e023672809401a6df (diff)
downloadopenbsd-ec3df9335c2be86d2de19f2111bf4a15736c11bc.tar.gz
openbsd-ec3df9335c2be86d2de19f2111bf4a15736c11bc.tar.bz2
openbsd-ec3df9335c2be86d2de19f2111bf4a15736c11bc.zip
MFC:
Fix by millert@ Traditionally, getopt(3) has treated "--foo" the same as "--". However, this can cause confusion when a user tries to use a long option with a program that only supports short options. Furthermore, it appears to be in violation of POSIX, which states that "--" shall indicate the end of argument processing, not any string that begins with "--". OK otto@ and closes PR 3666. ok deraadt@ millert@
Diffstat (limited to 'src/lib/libc/string')
0 files changed, 0 insertions, 0 deletions