]> err.no Git - yubikey-personalization/commit
Handle both GNU/WIN32 and BSD getopt reinit
authorMatt Stofko <matt@mjslabs.com>
Wed, 30 Jan 2013 01:13:05 +0000 (17:13 -0800)
committerMatt Stofko <matt@mjslabs.com>
Wed, 30 Jan 2013 01:13:05 +0000 (17:13 -0800)
commitfbc09afebc3d04a31c7787a7c5e9241503bd1376
treeb48b93d615f917193f654cac40131520b07c3130
parent8dbe71b29be16af337d3833ea1d9febc8ff0314c
Handle both GNU/WIN32 and BSD getopt reinit

This allows all the tests to pass on systems that use the BSD version of getopt which uses optind = 1 and optreset to reinitialize getopt.
tests/test_args_to_config.c