From 8ae7e1057f43e9b79260cdf191f39d657fdf0293 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 4 Aug 2009 14:00:11 +0200 Subject: [PATCH] build: remove trailing blanks, enable syntax-check * regressions/test-cancellation-download-librarycancels.sh: * src/generator.ml: * cfg.mk (disable_temporarily): Remove sc_trailing_blank. * .x-sc_trailing_blank: New file. --- .x-sc_trailing_blank | 1 + cfg.mk | 3 +-- regressions/test-cancellation-download-librarycancels.sh | 2 +- src/generator.ml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 .x-sc_trailing_blank diff --git a/.x-sc_trailing_blank b/.x-sc_trailing_blank new file mode 100644 index 0000000..d4a4f31 --- /dev/null +++ b/.x-sc_trailing_blank @@ -0,0 +1 @@ +images/bin-win64.exe diff --git a/cfg.mk b/cfg.mk index 7130cea..c672e4d 100644 --- a/cfg.mk +++ b/cfg.mk @@ -70,8 +70,7 @@ disable_temporarily = \ sc_m4_quote_check \ sc_prohibit_trailing_blank_lines \ sc_avoid_ctype_macros \ - sc_avoid_write \ - sc_trailing_blank + sc_avoid_write # Avoid uses of write(2). Either switch to streams (fwrite), or use # the safewrite wrapper. diff --git a/regressions/test-cancellation-download-librarycancels.sh b/regressions/test-cancellation-download-librarycancels.sh index 9db1248..b0d78c9 100755 --- a/regressions/test-cancellation-download-librarycancels.sh +++ b/regressions/test-cancellation-download-librarycancels.sh @@ -18,7 +18,7 @@ # Test download where the library cancels. # -# +# set -e diff --git a/src/generator.ml b/src/generator.ml index 9ef99bd..c9b3315 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -90,7 +90,7 @@ and ret = (* "RStruct" is a function which returns a single named structure * or an error indication (in C, a struct, and in other languages * with varying representations, but usually very efficient). See - * after the function list below for the structures. + * after the function list below for the structures. *) | RStruct of string * string (* name of retval, name of struct *) -- 1.8.3.1