diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-04 14:00:11 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-04 14:47:09 +0200 |
commit | 8ae7e1057f43e9b79260cdf191f39d657fdf0293 (patch) | |
tree | d38b3ac5f2d0f4b506643d6e7c6143448badc5dd | |
parent | e15ff2113f5b2a7e0aa138c47c14e93268d25aed (diff) | |
download | libguestfs-8ae7e1057f43e9b79260cdf191f39d657fdf0293.tar.gz libguestfs-8ae7e1057f43e9b79260cdf191f39d657fdf0293.tar.xz libguestfs-8ae7e1057f43e9b79260cdf191f39d657fdf0293.zip |
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.
-rw-r--r-- | .x-sc_trailing_blank | 1 | ||||
-rw-r--r-- | cfg.mk | 3 | ||||
-rwxr-xr-x | regressions/test-cancellation-download-librarycancels.sh | 2 | ||||
-rwxr-xr-x | src/generator.ml | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/.x-sc_trailing_blank b/.x-sc_trailing_blank new file mode 100644 index 00000000..d4a4f319 --- /dev/null +++ b/.x-sc_trailing_blank @@ -0,0 +1 @@ +images/bin-win64.exe @@ -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 9db12484..b0d78c96 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 9ef99bdf..c9b33156 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 *) |