+1998-05-06 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * admin_server.c (argv): POSIX states that getopt returns -1
+ when it is done parsing options, not EOF.
+
Fri Feb 27 23:32:38 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in: Changed thisconfigdir to point at the kadmin
memset(krbrlm, 0, sizeof(krbrlm));
fascist_cpw = 1; /* by default, enable fascist mode */
- while ((c = getopt(argc, argv, "Df:hnd:a:r:FNk:")) != EOF)
+ while ((c = getopt(argc, argv, "Df:hnd:a:r:FNk:")) != -1)
switch(c) {
case 'D':
debug++;