This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.19-169-g5006148
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 14 Mar 2014 23:07:04 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.19-169-g5006148
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 5006148ee57c80a787b275c04587678e9fe0a3f3 (commit)
from d6fe5e582d4e4bb339f55bc6369eaca0c52e527c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=5006148ee57c80a787b275c04587678e9fe0a3f3
commit 5006148ee57c80a787b275c04587678e9fe0a3f3
Author: Roland McGrath <roland@hack.frob.com>
Date: Fri Mar 14 16:05:10 2014 -0700
Remove "Compiled on ..." crapola from version text.
diff --git a/ChangeLog b/ChangeLog
index fb61ad2..d001113 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-14 Roland McGrath <roland@hack.frob.com>
+
+ * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
+ "Compiled on ..." crapola. It is anti-useful.
+
2014-03-14 Joseph Myers <joseph@codesourcery.com>
* scripts/evaluate-test.sh: Handle fourth argument to determine
diff --git a/csu/Makefile b/csu/Makefile
index 5252361..311dbb0 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -131,40 +131,7 @@ all-Banner-files = $(wildcard $(addsuffix /Banner,\
$(sysdeps-srcdirs))))
$(objpfx)version-info.h: $(common-objpfx)config.make $(all-Banner-files)
$(make-target-directory)
- (case $(config-os) in \
- linux*) version=`(printf '%s\n%s\n' \
- '#include <linux/version.h>' \
- UTS_RELEASE \
- | $(CC) $(CPPFLAGS) -O -E -P - -DNOT_IN_libc=1 | \
- sed -e 's/"\([^"]*\)".*/\1/p' -e d) 2>/dev/null`;\
- if [ -z "$$version" ]; then \
- version=`(printf '%s\n%s\n' \
- '#include <linux/version.h>' \
- LINUX_VERSION_CODE \
- | $(CC) $(CPPFLAGS) -O -E -P - -DNOT_IN_libc=1 \
- | sed -n -e '/^[123456789].*/p' \
- | awk '{v=$$1; \
- printf("%d.%d.%d\n", \
- v/65535, v/256%256, v%256)}') \
- 2>/dev/null`; \
- fi; \
- if [ -z "$$version" ]; then \
- if [ -r /proc/version ]; then \
- version=`sed 's/.*Linux version \([^ ]*\) .*/>>\1<</' \
- < /proc/version`; \
- else \
- version=`uname -r`; \
- fi; \
- fi; \
- os=`uname -s 2> /dev/null`; \
- if [ -z "$$os" ]; then \
- os=Linux; \
- fi; \
- printf '"Compiled on a %s %s system on %s.\\n"\n' \
- "$$os" "$$version" "`date +%Y-%m-%d`";; \
- *) ;; \
- esac; \
- files="$(all-Banner-files)"; \
+ (files="$(all-Banner-files)"; \
if test -n "$$files"; then \
printf '"Available extensions:\\n"\n'; \
sed -e '/^#/d' -e 's/^[[:space:]]*/ /' \
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
csu/Makefile | 35 +----------------------------------
2 files changed, 6 insertions(+), 34 deletions(-)
hooks/post-receive
--
GNU C Library master sources