summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getopt_long.c
AgeCommit message (Expand)AuthorFilesLines
2020-05-27This patch fixes one bug and one instance of undesirable behaviour.schwarze1-9/+1
2020-03-30"eventually" came and went back in 2004.martijn1-3/+1
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.millert1-2/+2
2015-10-01Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In oneguenther1-4/+2
2015-09-19Don't wrap initialized variables: binutils appears to be mishandling themguenther1-1/+3
2015-09-12Wrap <getopt.h> to make the functions weak and make access to the initializedguenther1-1/+6
2013-06-08Fix parsing of ambiguous options, the whole loop must be processed.millert1-15/+22
2011-03-05Fix PR 6267: recheck POSIXLY_CORRECT each time getopt_long() starts a newguenther1-12/+12
2010-07-22getopt_long.c replaced getopt.c 6+ years ago; we can retireblambert1-7/+1
2007-10-31Add parentheses to avoid warning:chl1-2/+2
2006-10-04from wiz@netbsd:jmc1-8/+1
2006-09-22Back out change in rev 1.15 of to allow whitespace to separate amillert1-10/+1
2005-10-25dont' -> don't in comments;jmc1-2/+2
2005-08-08zap remaining rcsid.espie1-5/+1
2005-03-30ansi + de-registerpat1-14/+6
2004-06-03An optional argument cannot start with '-', even if permutation ismillert1-4/+5
2004-02-04Traditionally, getopt(3) has treated "--foo" the same as "--". However,millert1-10/+9
2003-09-22If permutation is disabled (as it is via getopt(3) or when POSIXLY_CORRECTmillert1-2/+9
2003-06-17Sync with share/misc/license.template and add missing DARPA creditmillert1-9/+13
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.millert1-23/+12
2003-06-02Use the getopt() in getopt_long.c which supports some GNU extensions.millert1-2/+4
2002-12-10When doing permutation, only treat "-" as an option if it was specifiedmillert1-4/+5
2002-12-08SUS (and apparently 1003.1-2001) say to check optstring for NULLmillert1-3/+5
2002-12-08If we are passed "-" in argv and the user didn't specify '-' in optstring,millert1-6/+10
2002-12-08BSD getopt() supports '-' in the optstring so we should too.millert1-8/+15
2002-12-07Fix pasto in last commit.millert1-3/+3
2002-12-07For getopt_long_only() we *do* want to match single-character optionsmillert1-41/+36
2002-12-06Fix two compatibility issues with our getopt_long_only() vs. the GNU version:millert1-28/+61
2002-12-05Correctly handle -Wlong_arg (no space between -W and long_arg) when "W;"millert1-6/+8
2002-12-05Reorganize this so that getopt_only_only() works correctly.millert1-221/+208
2002-12-03Whoops, add missing #ifdef REPLACE_GETOPTmillert1-2/+4
2002-12-03GNU-like getopt_long() from NetBSD with changes by me to supportmillert1-0/+510