Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isapnp don't leave a whitespace at the end of the st...



details:   https://anonhg.NetBSD.org/src/rev/c7f6b873eb20
branches:  trunk
changeset: 574375:c7f6b873eb20
user:      perry <perry%NetBSD.org@localhost>
date:      Sun Feb 27 05:33:35 2005 +0000

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

diffstat:

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

diffs (18 lines):

diff -r df432277088e -r c7f6b873eb20 sys/dev/isapnp/devlist2h.awk
--- a/sys/dev/isapnp/devlist2h.awk      Sun Feb 27 05:29:24 2005 +0000
+++ b/sys/dev/isapnp/devlist2h.awk      Sun Feb 27 05:33:35 2005 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/awk -f
-#      $NetBSD: devlist2h.awk,v 1.6 2003/12/15 07:32:20 jmc Exp $
+#      $NetBSD: devlist2h.awk,v 1.7 2005/02/27 05:33:35 perry Exp $
 #
 # Copyright (c) 1998 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -117,6 +117,7 @@
 NR == 1 {
        VERSION = $0
        gsub("\\$", "", VERSION)
+       gsub(/ $/, "", VERSION)
 
        printf("/*\t$NetBSD" "$\t*/\n\n") > cfile
        printf("/*\n") > cfile



Home | Main Index | Thread Index | Old Index