[hackers] [scc] Use -c in diff instead of non POSIX -u || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Fri, 4 Sep 2015 20:22:39 +0200 (CEST)

commit d5af55dc2fb5943cb062780a6612b0d0aa4253b7
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Sep 4 09:41:16 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Sep 4 09:41:16 2015 +0200

    Use -c in diff instead of non POSIX -u

diff --git a/cc1/tests/chktest.sh b/cc1/tests/chktest.sh
index 84682c2..37466db 100755
--- a/cc1/tests/chktest.sh
+++ b/cc1/tests/chktest.sh
_AT_@ -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
Received on Fri Sep 04 2015 - 20:22:39 CEST

This archive was generated by hypermail 2.3.0 : Fri Sep 04 2015 - 20:24:13 CEST