shithub: scc

Download patch

ref: d5af55dc2fb5943cb062780a6612b0d0aa4253b7
parent: 9b8d4f081969cb22e1a127c690e943b8247e5594
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Sep 4 05:41:16 EDT 2015

Use -c in diff instead of non POSIX -u

--- a/cc1/tests/chktest.sh
+++ b/cc1/tests/chktest.sh
@@ -31,7 +31,7 @@
 	}
 	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