scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit d5af55dc2fb5943cb062780a6612b0d0aa4253b7
parent 9b8d4f081969cb22e1a127c690e943b8247e5594
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri,  4 Sep 2015 09:41:16 +0200

Use -c in diff instead of non POSIX -u

Diffstat:
Mcc1/tests/chktest.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc1/tests/chktest.sh b/cc1/tests/chktest.sh @@ -31,7 +31,7 @@ do } END { system("../cc1 -w " test " > " out " 2>&1") - cmd="diff -u " chk " " out " >> " err + cmd="diff -c " chk " " out " >> " err print test >> err print system(cmd) ? "[FAILED]" : "[OK]" }' $i