OSDN Git Service

ChangeLog, test_icount.c:
authorTheodore Ts'o <tytso@mit.edu>
Sat, 27 Jun 1998 05:20:20 +0000 (05:20 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 27 Jun 1998 05:20:20 +0000 (05:20 +0000)
  test_icount.c (main): The variable which gets the return value from
   getopt should be an int so that the comparisons against EOF work on
   systems with unsigned chars.

tests/progs/ChangeLog
tests/progs/test_icount.c

index 6ab454b..746d1dd 100644 (file)
@@ -1,3 +1,9 @@
+1998-06-27  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * test_icount.c (main): The variable which gets the return value
+               from getopt should be an int so that the comparisons
+               against EOF work on systems with unsigned chars.
+
 1998-06-25  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
        * test_icount.c (main): Fix main() declaration so that it returns
index 896ded9..fc5b0a5 100644 (file)
@@ -295,7 +295,7 @@ int main(int argc, char **argv)
        int             retval;
        int             sci_idx;
        const char      *usage = "Usage: test_icount [-R request] [-f cmd_file]";
-       char            c;
+       int             c;
        char            *request = 0;
        int             exit_status = 0;
        char            *cmd_file = 0;