Commit Graph

14 Commits

Author SHA1 Message Date
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
christos
342c547a73 regression test for posix_memalign 2008-02-03 22:56:13 +00:00
ginsbach
05d6614378 Fix PR/37710. Correct botched test result. This lead to an erroneous
regression failure.
2008-01-08 03:49:01 +00:00
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
ginsbach
67a9c3250c Remove debugging code accidently left in the original commit. This should
make the test a bit less verbose.
2007-06-19 20:44:28 +00:00
drochner
89d741cf50 initialize line counter for fparseln() 2007-03-07 15:13:50 +00:00
ginsbach
089d34fd42 Add a small regression test for getopt_long(3). 2007-01-18 16:29:21 +00:00
ginsbach
dca2bdf5fa - print lineno as the line number in error rather than line
- use errx(3) instead of err(3) since errno is not set; all the calls are
  for input parse errors which don't set errno
2006-11-16 21:34:53 +00:00
agc
0833278c93 Don't compare the return value of strncmp(3) against NULL - it's an integer. 2003-10-21 08:46:15 +00:00
lukem
d348d3d723 tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
2002-11-30 03:10:53 +00:00
lukem
08c81a9c2d some makefile de-linting
- list NOxxx and LDSTATIC= assignments before everything else
  (especially <bsd.own.mk>)
- ensure <bsd.own.mk> is included before NETBSDSRCDIR is used
- add missing RCSids
2002-09-18 05:41:35 +00:00
itojun
98b535ba4a don't install regress test programs 2002-08-18 14:59:32 +00:00
agc
ca35a8f6ac Make this file compile without warnings on systems where chars are unsigned. 2002-07-16 10:12:28 +00:00
christos
85c9292513 Add a small regression test for getopt. 2002-07-15 22:04:00 +00:00