getopt-posix: No longer guarantee that option processing is resettable.
authorBruno Haible <bruno@clisp.org>
Tue, 26 Jun 2012 17:53:01 +0000 (19:53 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 26 Jun 2012 17:53:01 +0000 (19:53 +0200)
commit265729b658680423d7467feb4edc8c188857453c
tree1a3140f99057be03f6ebebdb53d38574f942d473
parent2457d7ca6856f84502b09fa4690f6f4187de050f
getopt-posix: No longer guarantee that option processing is resettable.

* doc/posix-functions/getopt.texi: Drop description of problem with
internal state. Fix info about mingw and msvc9.
* m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Don't require a resettable
option processing by getopt(). Run three test programs instead of one.
Simplify cross-compilation guess.
* NEWS: Mention the change.
Reported by Rich Felker <dalias@aerifal.cx>.
ChangeLog
NEWS
doc/posix-functions/getopt.texi
m4/getopt.m4