POSIX states that getopt returns -1 when it is done parsing options,
authorTheodore Tso <tytso@mit.edu>
Wed, 6 May 1998 20:24:10 +0000 (20:24 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 6 May 1998 20:24:10 +0000 (20:24 +0000)
commitdf85cc01656c2a234642047ea22b44b5f6a65683
treec8eb10be62668ae2cde30336430d8145a3d30df3
parent376a54c9f64fbb57813e5902bd46ed63e9b2c746
POSIX states that getopt returns -1 when it is done parsing options,
not EOF.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10550 dc483132-0cff-0310-8789-dd5450dbe970
49 files changed:
src/appl/sample/sserver/ChangeLog
src/appl/sample/sserver/sserver.c
src/appl/simple/client/ChangeLog
src/appl/simple/client/sim_client.c
src/appl/simple/server/ChangeLog
src/appl/simple/server/sim_server.c
src/appl/telnet/libtelnet/ChangeLog
src/appl/telnet/libtelnet/getopt.c
src/clients/kdestroy/ChangeLog
src/clients/kdestroy/kdestroy.c
src/clients/kinit/ChangeLog
src/clients/kinit/kinit.c
src/clients/ksu/ChangeLog
src/clients/ksu/main.c
src/kadmin.v4/server/ChangeLog
src/kadmin.v4/server/admin_server.c
src/kadmin/dbutil/ChangeLog
src/kadmin/dbutil/kdb5_create.c
src/kadmin/dbutil/kdb5_destroy.c
src/kadmin/dbutil/kdb5_stash.c
src/kadmin/v5passwdd/ChangeLog
src/kadmin/v5passwdd/kpasswd.c
src/kdc/ChangeLog
src/kdc/main.c
src/krb524/ChangeLog
src/krb524/k524init.c
src/lib/kadm/ChangeLog
src/lib/kadm/t_dbentry.c
src/lib/kadm/t_ktentry.c
src/lib/kdb/ChangeLog
src/lib/kdb/t_kdb.c
src/lib/krb5/os/ChangeLog
src/lib/krb5/os/t_std_conf.c
src/prototype/ChangeLog [new file with mode: 0644]
src/prototype/getopt.c
src/tests/asn.1/ChangeLog
src/tests/asn.1/krb5_encode_test.c
src/tests/create/ChangeLog
src/tests/create/kdb5_mkdums.c
src/tests/hammer/ChangeLog
src/tests/hammer/kdc5_hammer.c
src/tests/verify/ChangeLog
src/tests/verify/kdb5_verify.c
src/util/db2/test/ChangeLog [new file with mode: 0644]
src/util/db2/test/btree.tests/ChangeLog [new file with mode: 0644]
src/util/db2/test/btree.tests/main.c
src/util/db2/test/dbtest.c
src/util/windows/ChangeLog
src/util/windows/getopt.c