Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/conf Trim " " at the beginning of version string to foll...



details:   https://anonhg.NetBSD.org/src/rev/3f7d51029ab4
branches:  trunk
changeset: 803669:3f7d51029ab4
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Fri Nov 07 12:34:14 2014 +0000

description:
Trim " " at the beginning of version string to follow the change
in rev.1.60 of newvers.sh.

-const char sccs[] = "@(#)${fullversion}";
+const char sccs[] = "@(#)" ${fullversion_source};

diffstat:

 sys/conf/Makefile.kern.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f63fe7405fef -r 3f7d51029ab4 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Fri Nov 07 12:33:57 2014 +0000
+++ b/sys/conf/Makefile.kern.inc        Fri Nov 07 12:34:14 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.178 2014/11/06 12:02:59 uebayasi Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.179 2014/11/07 12:34:14 nakayama Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -249,7 +249,7 @@
 
 LINKFLAGS_DEBUG?=      -X
 
-SYSTEM_LD_TAIL?=@${TOOL_SED} '/const char sccs/!d;s/.*@(.)//;s/\\.*//' vers.c; \
+SYSTEM_LD_TAIL?=@${TOOL_SED} '/const char sccs/!d;s/.*@(.)//;s/" "//;s/\\.*//' vers.c; \
                ${SIZE} $@; chmod 755 $@; \
                ${SYSTEM_CTFMERGE}
 SYSTEM_LD_TAIL_DEBUG?=; \



Home | Main Index | Thread Index | Old Index