mirror of https://github.com/vitalif/e2fsprogs
b887f08f95
The getopt() function returns an int, not a char. On systems where the default char is unsigned (like ppc), we get weird behavior where -1 is truncated to 0xff but compared to (int)-1. Also fix this same bug for two test programs, test_rel and iscan, which aren't currently used at the moment. Addresses-Gentoo-Bug: #299386 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Theodore Ts'o <tytso@mit.edu> |
||
---|---|---|
.. | ||
test_data | ||
Makefile.in | ||
hold_inode.c | ||
random_exercise.c | ||
test_icount.c | ||
test_icount.h | ||
test_icount_cmds.ct | ||
test_rel.c | ||
test_rel.h | ||
test_rel_cmds.ct |