index
:
openbsd
OPENBSD_2_0
OPENBSD_2_1
OPENBSD_2_2
OPENBSD_2_3
OPENBSD_2_4
OPENBSD_2_5
OPENBSD_2_6
OPENBSD_2_7
OPENBSD_2_8
OPENBSD_2_9
OPENBSD_3_0
OPENBSD_3_1
OPENBSD_3_2
OPENBSD_3_3
OPENBSD_3_4
OPENBSD_3_5
OPENBSD_3_6
OPENBSD_3_7
OPENBSD_3_8
OPENBSD_3_9
OPENBSD_4_0
OPENBSD_4_1
OPENBSD_4_2
OPENBSD_4_3
OPENBSD_4_4
OPENBSD_4_5
OPENBSD_4_6
OPENBSD_4_7
OPENBSD_4_8
OPENBSD_4_9
OPENBSD_5_0
OPENBSD_5_1
OPENBSD_5_2
OPENBSD_5_3
OPENBSD_5_4
OPENBSD_5_5
OPENBSD_5_6
OPENBSD_5_7
OPENBSD_5_8
OPENBSD_5_9
OPENBSD_6_0
OPENBSD_6_1
OPENBSD_6_2
OPENBSD_6_3
OPENBSD_6_4
OPENBSD_6_5
OPENBSD_6_6
OPENBSD_6_7
OPENBSD_6_8
OPENBSD_6_9
OPENBSD_7_0
OPENBSD_7_1
OPENBSD_7_2
OPENBSD_7_3
OPENBSD_7_4
OPENBSD_7_5
OPENBSD_7_6
master
A mirror of https://github.com/libressl/openbsd.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
lib
/
libc
/
stdlib
/
getopt_long.c
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
Fix parsing of ambiguous options, the whole loop must be processed.
millert
2013-06-08
1
-15
/
+22
*
Fix PR 6267: recheck POSIXLY_CORRECT each time getopt_long() starts a new
guenther
2011-03-05
1
-12
/
+12
*
getopt_long.c replaced getopt.c 6+ years ago; we can retire
blambert
2010-07-22
1
-7
/
+1
*
Add parentheses to avoid warning:
chl
2007-10-31
1
-2
/
+2
*
from wiz@netbsd:
jmc
2006-10-04
1
-8
/
+1
*
Back out change in rev 1.15 of to allow whitespace to separate a
millert
2006-09-22
1
-10
/
+1
*
dont' -> don't in comments;
jmc
2005-10-25
1
-2
/
+2
*
zap remaining rcsid.
espie
2005-08-08
1
-5
/
+1
*
ansi + de-register
pat
2005-03-30
1
-14
/
+6
*
An optional argument cannot start with '-', even if permutation is
millert
2004-06-03
1
-4
/
+5
*
Traditionally, getopt(3) has treated "--foo" the same as "--". However,
millert
2004-02-04
1
-10
/
+9
*
If permutation is disabled (as it is via getopt(3) or when POSIXLY_CORRECT
millert
2003-09-22
1
-2
/
+9
*
Sync with share/misc/license.template and add missing DARPA credit
millert
2003-06-17
1
-9
/
+13
*
Use an ISC-tyle license for all my code; it is simpler and more permissive.
millert
2003-06-03
1
-23
/
+12
*
Use the getopt() in getopt_long.c which supports some GNU extensions.
millert
2003-06-02
1
-2
/
+4
*
When doing permutation, only treat "-" as an option if it was specified
millert
2002-12-10
1
-4
/
+5
*
SUS (and apparently 1003.1-2001) say to check optstring for NULL
millert
2002-12-08
1
-3
/
+5
*
If we are passed "-" in argv and the user didn't specify '-' in optstring,
millert
2002-12-08
1
-6
/
+10
*
BSD getopt() supports '-' in the optstring so we should too.
millert
2002-12-08
1
-8
/
+15
*
Fix pasto in last commit.
millert
2002-12-07
1
-3
/
+3
*
For getopt_long_only() we *do* want to match single-character options
millert
2002-12-07
1
-41
/
+36
*
Fix two compatibility issues with our getopt_long_only() vs. the GNU version:
millert
2002-12-06
1
-28
/
+61
*
Correctly handle -Wlong_arg (no space between -W and long_arg) when "W;"
millert
2002-12-05
1
-6
/
+8
*
Reorganize this so that getopt_only_only() works correctly.
millert
2002-12-05
1
-221
/
+208
*
Whoops, add missing #ifdef REPLACE_GETOPT
millert
2002-12-03
1
-2
/
+4
*
GNU-like getopt_long() from NetBSD with changes by me to support
millert
2002-12-03
1
-0
/
+510