[lvm-devel] removing trailing blanks in lvm and dm
Jim Meyering
jim at meyering.net
Fri Sep 21 10:34:31 UTC 2007
Hi Alasdair,
I'd like to remove all trailing blanks from lvm and dm.
I want to do this because I've been burned by them upon occasion and
so, now I use a mode in emacs and in vi that highlights them, as well
as another that asks me whether to remove them whenever I write a file
in emacs. FWIW, a trailing space in a Makefile is significant, in some
contexts (years ago, that one was a pain to track down), and in code,
e.g., after a backslash. There's only one Makefile.in with a trailing
blank, and it's a harmless one, so I can't point to a specific fault
here. This is just preventive medicin.
Only about 1/3 of the affected lines (600+ lines in 217 files in LVM2)
are in code. The majority are in man pages and on Copyright lines.
I'll even add a "make distcheck" rule that fails when a new one is
introduced.
Ok?
More information about the lvm-devel
mailing list