Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/podulebus don't leave spaces at the end of stripped ...



details:   https://anonhg.NetBSD.org/src/rev/dca49679e734
branches:  trunk
changeset: 574392:dca49679e734
user:      perry <perry%NetBSD.org@localhost>
date:      Sun Feb 27 15:31:01 2005 +0000

description:
don't leave spaces at the end of stripped RCS Ids

diffstat:

 sys/dev/podulebus/podulelist2h.awk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r fdaad7dfc1d1 -r dca49679e734 sys/dev/podulebus/podulelist2h.awk
--- a/sys/dev/podulebus/podulelist2h.awk        Sun Feb 27 15:29:37 2005 +0000
+++ b/sys/dev/podulebus/podulelist2h.awk        Sun Feb 27 15:31:01 2005 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/awk -f
-#      $NetBSD: podulelist2h.awk,v 1.2 2002/05/22 22:43:15 bjh21 Exp $
+#      $NetBSD: podulelist2h.awk,v 1.3 2005/02/27 15:31:01 perry Exp $
 #      from: devlist2h.awk,v 1.2 1996/01/22 21:08:09 cgd Exp
 #
 # Copyright (c) 1996 Mark Brinicombe
@@ -39,6 +39,7 @@
 NR == 1 {
        VERSION = $0
        gsub("\\$", "", VERSION)
+       gsub(/ $/, "", VERSION)
 
        printf("/*\t\$NetBSD\$\t*/\n\n") > dfile
        printf("/*\n") > dfile



Home | Main Index | Thread Index | Old Index