From: Keith M. <kei...@us...> - 2008-01-11 23:38:53
|
Update of /cvsroot/mingw/catgets In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv799 Modified Files: ChangeLog Log Message: Make replacement `getopt' function module more GNU compatible. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/catgets/ChangeLog,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** ChangeLog 10 Jan 2008 22:47:42 -0000 1.29 --- ChangeLog 11 Jan 2008 23:38:46 -0000 1.30 *************** *** 1,2 **** --- 1,10 ---- + 2008-01-11 Keith Marshall <kei...@us...> + + Make replacement `getopt' function module more GNU compatible. + + * repl/getopt.c (optind): Initialise to one; POSIX requires this. + (getopt_parse): Handle changed initial value for `optind'; allow + caller to reset the parser, by setting `optind = 0'. + 2008-01-10 Keith Marshall <kei...@us...> |