Many files:
fsck.c:
chattr.c: Remove #include of getopt.h, since it's not needed.
tune2fs.c (main):
lsattr.c (main):
badblocks.c (main):
dumpe2fs.c (main):
mke2fs.c (PRS): Make the variable which getopt returns into be
an int, so that it won't lose on platforms where char is
unsigned.
ChangeLog, unix.c:
Make the variable which getopt returns into be an int, so that it
won't lose on platforms where char is unsigned.
diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog
index 847007a..260e981 100644
--- a/e2fsck/ChangeLog
+++ b/e2fsck/ChangeLog
@@ -1,5 +1,9 @@
Fri Oct 24 00:12:39 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
+ * unix.c (PRS): Make the variable which getopt returns into be
+ an int, so that it won't lose on platforms where char is
+ unsigned.
+
* pass1b.c (clone_file): Fix bug in error reporting in the case
where cs.errcode is non-zero.
diff --git a/e2fsck/unix.c b/e2fsck/unix.c
index 1125670..9868e36 100644
--- a/e2fsck/unix.c
+++ b/e2fsck/unix.c
@@ -236,7 +236,7 @@
static errcode_t PRS(int argc, char *argv[], e2fsck_t *ret_ctx)
{
int flush = 0;
- char c;
+ int c;
#ifdef MTRACE
extern void *mallwatch;
#endif