Source-Changes-HG archive

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

[src/trunk]: src/sys/kern get rid of trailing spaces in the "created from" li...



details:   https://anonhg.NetBSD.org/src/rev/4ff1293b97bd
branches:  trunk
changeset: 574350:4ff1293b97bd
user:      perry <perry%NetBSD.org@localhost>
date:      Sat Feb 26 23:32:31 2005 +0000

description:
get rid of trailing spaces in the "created from" line (constructed by
stripping the $s from $NetBSD$ in the source file.)

diffstat:

 sys/kern/makesyscalls.sh |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 620f1200bf1e -r 4ff1293b97bd sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Sat Feb 26 23:20:00 2005 +0000
+++ b/sys/kern/makesyscalls.sh  Sat Feb 26 23:32:31 2005 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh -
-#      $NetBSD: makesyscalls.sh,v 1.57 2004/09/12 11:24:15 jdolecek Exp $
+#      $NetBSD: makesyscalls.sh,v 1.58 2005/02/26 23:32:31 perry Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -175,6 +175,7 @@
        printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysarghdr
 }
 NR == 1 {
+       sub(/ $/, "")
        printf " * created from%s\n */\n\n", $0 > sysdcl
        printf "#include <sys/cdefs.h>\n__KERNEL_RCSID(0, \"\$NetBSD\$\");\n\n" > sysdcl
 



Home | Main Index | Thread Index | Old Index