Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/mca don't leave whitespace at the end of the strippe...



details:   https://anonhg.NetBSD.org/src/rev/37a22aa7ccf5
branches:  trunk
changeset: 574377:37a22aa7ccf5
user:      perry <perry%NetBSD.org@localhost>
date:      Sun Feb 27 05:39:56 2005 +0000

description:
don't leave whitespace at the end of the stripped RCS Id

diffstat:

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

diffs (18 lines):

diff -r 6187f2822b0d -r 37a22aa7ccf5 sys/dev/mca/devlist2h.awk
--- a/sys/dev/mca/devlist2h.awk Sun Feb 27 05:35:40 2005 +0000
+++ b/sys/dev/mca/devlist2h.awk Sun Feb 27 05:39:56 2005 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/awk -f
-#      $NetBSD: devlist2h.awk,v 1.2 2003/12/15 07:32:20 jmc Exp $
+#      $NetBSD: devlist2h.awk,v 1.3 2005/02/27 05:39:56 perry Exp $
 #
 # Copyright (c) 1995, 1996 Christopher G. Demetriou
 # All rights reserved.
@@ -43,6 +43,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