NetBSD/lib/libc/stdlib
ginsbach 15b661abe9 Fix several end cases:
o If a long option looks like an ambiguous abbreviation of two or more long
  options, but all the possible interpretations would return the same
  value, then just return that value without complaining that it's
  ambiguous.

o If a long option could be interpreted either as an exact match for one
  long option, or as an abbreviation for one or more other long options,
  then treat it as the exact match.

These changes align NetBSD's getopt_long(3) with the current behavior of
GNU getopt_long(3), the de facto standard, and FreeBSD's getopt_long(3).
2007-07-05 16:05:40 +00:00
..
_rand48.c
_strtoimax.c
_strtoll.c
_strtoull.c
_strtoumax.c
a64l.3
a64l.c
abort.3
abort.c
abs.3
abs.c
alloca.3
atexit.3
atexit.c
atexit.h
atof.3
atof.c
atoi.3
atoi.c
atol.3
atol.c
atoll.3
atoll.c
bsearch.3
bsearch.c
calloc.c
div.3
div.c
drand48.c
erand48_ieee754.c
erand48.c
exit.3
exit.c
getenv.3
getenv.c
getopt_long.3 Document that getopt_long(3) can and will accept unique abbreviated long 2007-07-02 17:56:17 +00:00
getopt_long.c Fix several end cases: 2007-07-05 16:05:40 +00:00
getopt.3
getopt.c
getsubopt.3
getsubopt.c
grantpt.3
hcreate.3
hcreate.c
heapsort.c
insque.3
insque.c
jrand48.c
l64a.c
labs.3
labs.c
lcong48.c
ldiv.3
ldiv.c
Lint_abs.c
Lint_div.c
Lint_labs.c
Lint_ldiv.c
Lint_llabs.c
llabs.3
llabs.c
lldiv.3
lldiv.c
local.h
lrand48.c
lsearch.3
lsearch.c
Makefile.inc
malloc.3
malloc.c fix spelling of accidentally; from Zapher 2006-11-24 19:37:02 +00:00
memory.3
merge.c
mrand48.c
nrand48.c
posix_openpt.3
posix_openpt.c
ptsname.3
pty.c
putenv.c
qabs.3
qabs.c
qdiv.3
qdiv.c
qsort.3
qsort.c
radixsort.3
radixsort.c
rand48.3
rand48.h
rand_r.c
rand.3
rand.c
random.3
remque.c
seed48.c
setenv.c
srand48.c
strfmon.3
strfmon.c
strsuftoll.3 Use IEC 60027-2 prefixes for 2^n based prefixes. 2007-04-12 06:50:39 +00:00
strsuftoll.c Use IEC 60027-2 prefixes for 2^n based prefixes. 2007-04-12 06:50:39 +00:00
strtod.3
strtoimax.c remove bogus (void)&var; From Anon Ymous 2006-12-18 00:40:14 +00:00
strtol.3
strtol.c
strtoq.c remove bogus (void)&var; From Anon Ymous 2006-12-18 00:40:14 +00:00
strtoul.3
strtouq.c
system.3
system.c Correctly recover signal state if failed trying to set it. 2006-10-07 22:16:19 +00:00
tdelete.c
tfind.c
tsearch.3 PR/34984: Denis Lagno: minor problems with tsearch.3 2006-11-26 13:10:54 +00:00
tsearch.c
twalk.c
unlockpt.3
unsetenv.c