summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-04 14:00:11 +0200
committerJim Meyering <meyering@redhat.com>2009-08-04 14:47:09 +0200
commit8ae7e1057f43e9b79260cdf191f39d657fdf0293 (patch)
treed38b3ac5f2d0f4b506643d6e7c6143448badc5dd
parente15ff2113f5b2a7e0aa138c47c14e93268d25aed (diff)
downloadlibguestfs-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_blank1
-rw-r--r--cfg.mk3
-rwxr-xr-xregressions/test-cancellation-download-librarycancels.sh2
-rwxr-xr-xsrc/generator.ml2
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
diff --git a/cfg.mk b/cfg.mk
index 7130cea5..c672e4db 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 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 *)