* src/misc/version.cc: Fix trailing whitespace.

* src/sanity/style.test: Diagnose trailing whitespace.
This commit is contained in:
Alexandre Duret-Lutz 2004-10-29 12:41:56 +00:00
parent 8c0b085d73
commit 7fce2b2a95
3 changed files with 9 additions and 3 deletions

View file

@ -34,7 +34,10 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
fail=false
sed 's,//.*,,' < $file > $tmp
sed 's,[ ]*//.*,,' < $file > $tmp
grep '[ ]$' $tmp &&
diag 'Trailing space or tab.'
grep '[ ]if(' $tmp &&
diag 'Missing space after "if"'