From: Andrew Tridgell Date: Fri, 28 Mar 2003 12:33:39 +0000 (+0100) Subject: compilers treat zero length files differently X-Git-Tag: v2.3~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5994b23f66f22a7f96b630128d89e2fa619c413;p=thirdparty%2Fccache.git compilers treat zero length files differently --- diff --git a/test.sh b/test.sh index 7a112341a..753292217 100755 --- a/test.sh +++ b/test.sh @@ -20,7 +20,7 @@ test_failed() { randcode() { outfile="$1" nlines=$2 - i=0; + i=1; ( while [ $i -lt $nlines ]; do echo "int foo$nlines$i(int x) { return x; }"