Use consistent syntax for boolean preprocessor expressions.
This commit is contained in:
@@ -48,7 +48,7 @@ binmode(INFILE);
|
||||
# check file size
|
||||
@st = stat($ifile);
|
||||
if (1 && $st[7] <= 0) {
|
||||
print STDERR "$ifile: ERROR: emtpy file\n";
|
||||
print STDERR "$ifile: ERROR: empty file\n";
|
||||
exit(1);
|
||||
}
|
||||
if (1 && $st[7] > 64*1024) {
|
||||
|
||||
@@ -284,7 +284,7 @@ def main(argv):
|
||||
# check file size
|
||||
st = os.stat(ifile)
|
||||
if 1 and st.st_size <= 0:
|
||||
print >> sys.stderr, "%s: ERROR: emtpy file" % (ifile)
|
||||
print >> sys.stderr, "%s: ERROR: empty file" % (ifile)
|
||||
sys.exit(1)
|
||||
if 1 and st.st_size > 128*1024:
|
||||
print >> sys.stderr, "%s: ERROR: file is too big (%d bytes)" % (ifile, st.st_size)
|
||||
|
||||
Reference in New Issue
Block a user