GNU bug report logs -
#5925
[PATCH] tests: more syntax-checks
Previous Next
Reported by: Jim Meyering <jim <at> meyering.net>
Date: Sun, 11 Apr 2010 09:33:02 UTC
Severity: normal
Tags: patch
Done: Jim Meyering <jim <at> meyering.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5925 in the body.
You can then email your comments to 5925 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org
:
bug#5925
; Package
coreutils
.
(Sun, 11 Apr 2010 09:33:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jim Meyering <jim <at> meyering.net>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Sun, 11 Apr 2010 09:33:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
FYI,
From 0ba945b0506acb27feb351771c3828786809df6f Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering <at> redhat.com>
Date: Sat, 10 Apr 2010 22:43:01 +0200
Subject: [PATCH] tests: more syntax-checks
* gnulib: update to latest
* cfg.mk (sc_prohibit_empty_lines_at_EOF): Remove, now that it's
in gnulib's maint.mk.
(_hv_file): Override the default.
---
cfg.mk | 27 +++------------------------
gnulib | 2 +-
2 files changed, 4 insertions(+), 25 deletions(-)
diff --git a/cfg.mk b/cfg.mk
index dfc3b86..7533930 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -32,6 +32,9 @@ old_NEWS_hash = 9518f4930d702a9fa6ac6b9fd06cca94
# Add an exemption for sc_makefile_at_at_check.
_makefile_at_at_check_exceptions = ' && !/^cu_install_program =/'
+# Our help-version script is in a slightly different location.
+_hv_file ?= $(srcdir)/tests/misc/help-version
+
# Ensure that the list of O_ symbols used to compute O_FULLBLOCK is complete.
dd = $(srcdir)/src/dd.c
sc_dd_O_FLAGS:
@@ -315,30 +318,6 @@ sc_space_before_open_paren:
else :; \
fi
-# The following tail+perl pipeline would be much more concise, and would
-# produce slightly better output (including counts) if written as
-# perl -ln -0777 -e '/\n(\n+)$/ and print "$ARGV: ".length $1' ...
-# but that would be far less efficient, reading the entire contents
-# of each file, rather than just the last few bytes of each.
-#
-# This is a perl script that operates on the output of
-# tail -n1 TWO_OR_MORE_FILES
-# Print the name of each file that ends in two or more newline bytes.
-# Exit nonzero if at least one such file is found, otherwise, exit 0.
-#
-# Use this if you want to remove trailing empty lines from selected files:
-# perl -pi -0777 -e 's/\n\n+$/\n/' files...
-#
-detect_empty_lines_at_EOF_ = \
- /^==> ([^\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 \
- | perl -00 -ne '$(detect_empty_lines_at_EOF_)' \
- || { echo '$(ME): the above files end with empty line(s)' \
- 1>&2; exit 1; } || :; \
-
include $(srcdir)/dist-check.mk
update-copyright-env = \
diff --git a/gnulib b/gnulib
index bfbf5db..8df7efd 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit bfbf5dbc5ec0aa90ee2ac3c48f3708de1f428178
+Subproject commit 8df7efddc8ffe398cde4106d32b39848e5948df9
--
1.7.1.rc0.264.g94f6e
bug closed, send any further explanations to Jim Meyering <jim <at> meyering.net>
Request was from
Jim Meyering <jim <at> meyering.net>
to
control <at> debbugs.gnu.org
.
(Fri, 30 Apr 2010 17:35:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 29 May 2010 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 83 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.