1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Files
gnulib/doc/glibc-functions
Eric Blake a8ec28b697 test-getopt: enhance test
Add coverage of optind==0 for getopt_long, since coreutils
depends on it.  Also test an optstring containing "W;", since
that tends to expose corner-case bugs (even in glibc, so the
test is weaker than it could be).

* m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Require that getopt_long
supports optind=0.
* tests/test-getopt.c (OPTIND_MIN): Move...
* tests/test-getopt.h (OPTIND_MIN): ...here.
* tests/test-getopt_long.h (test_getopt_long): Add more coverage.
Require that optind=0 works, since modern BSD supports it in
addition to optreset, and since coreutils expects it.
(test_getopt_long_only): New test.
* doc/glibc-functions/getopt_long.texi (getopt_long): Document
glibc shortcomings with 'W;', and enforcement of optind=0.
* doc/glibc-functions/getopt_long_only.texi (getopt_long_only):
Likewise.
2009-12-22 06:42:33 -07:00
..
2009-08-25 02:17:09 +02:00
2008-12-15 07:05:41 -07:00
2008-12-15 07:05:41 -07:00
2009-08-24 00:17:47 +02:00
2008-10-18 14:17:41 +02:00
2008-12-15 07:05:41 -07:00
2008-12-15 07:05:41 -07:00
2008-12-16 00:13:22 +01:00
2008-12-16 00:13:22 +01:00
2008-10-07 08:32:09 +02:00
2008-12-16 00:13:22 +01:00
2008-12-15 07:05:41 -07:00
2008-12-16 00:13:22 +01:00
2008-12-16 00:13:22 +01:00
2008-10-18 14:17:41 +02:00
2008-10-05 16:54:22 +02:00
2008-12-15 07:05:41 -07:00
2008-10-18 14:17:41 +02:00
2009-12-22 06:42:33 -07:00
2008-10-18 14:17:41 +02:00
2008-05-19 14:02:31 +02:00
2008-10-18 14:17:41 +02:00
2008-12-16 00:13:22 +01:00
2008-10-23 16:38:01 +02:00
2008-07-12 11:27:14 -07:00
2008-10-18 14:17:41 +02:00
2008-10-18 14:17:41 +02:00
2008-12-16 00:13:22 +01:00
2008-12-16 00:13:22 +01:00
2008-12-16 00:13:22 +01:00
2008-12-16 00:13:22 +01:00
2008-12-16 00:13:22 +01:00
2008-10-18 14:17:41 +02:00
2008-10-18 14:17:41 +02:00
2009-08-23 14:11:27 +02:00
2009-11-04 19:09:01 -07:00
2009-08-22 18:50:21 +02:00
2008-12-15 07:05:41 -07:00
2008-12-15 07:05:41 -07:00
2008-10-23 16:38:01 +02:00
2008-12-15 07:05:41 -07:00
2008-12-16 00:13:22 +01:00
2008-12-15 07:05:41 -07:00
2008-12-15 07:05:41 -07:00
2008-12-15 07:05:41 -07:00
2008-12-15 07:05:41 -07:00
2008-10-18 14:17:41 +02:00
2008-12-15 07:05:41 -07:00
2008-10-23 16:38:01 +02:00
2008-12-16 00:13:22 +01:00
2008-10-23 16:38:01 +02:00
2008-10-18 14:17:41 +02:00
2008-10-18 14:17:41 +02:00
2008-10-18 14:17:41 +02:00
2008-10-18 14:17:41 +02:00