* top/maint.mk (detect_empty_lines_at_EOF_): Don't confuse an
empty file with one that ends in an empty line.
+2010-04-11 Jim Meyering <meyering@redhat.com>
+
+ maint.mk: detect_empty_lines_at_EOF_: avoid FP for an empty file
+ * top/maint.mk (detect_empty_lines_at_EOF_): Don't confuse an
+ empty file with one that ends in an empty line.
+
2010-04-10 Bruno Haible <bruno@clisp.org>
mkdir: Make it work on mingw64.
# perl -pi -0777 -e 's/\n\n+$/\n/' files...
#
detect_empty_lines_at_EOF_ = \
- /^==> ([^\n]+) <==\n\n/m and (print "$$1\n"), $$fail = 1; \
+ /^==> ([^\n]+) <==\n\n\n/m and (print "$$1\n"), $$fail = 1; \
END { exit defined $$fail }
sc_prohibit_empty_lines_at_EOF:
@tail -n1 $$($(VC_LIST_EXCEPT)) /dev/null \