Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/742041710188
branches:  trunk
changeset: 574390:742041710188
user:      perry <perry%NetBSD.org@localhost>
date:      Sun Feb 27 15:29:09 2005 +0000

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

diffstat:

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

diffs (18 lines):

diff -r 792b2d791bed -r 742041710188 sys/dev/pcmcia/devlist2h.awk
--- a/sys/dev/pcmcia/devlist2h.awk      Sun Feb 27 15:26:16 2005 +0000
+++ b/sys/dev/pcmcia/devlist2h.awk      Sun Feb 27 15:29:09 2005 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/awk -f
-#      $NetBSD: devlist2h.awk,v 1.9 2005/02/27 00:27:43 perry Exp $
+#      $NetBSD: devlist2h.awk,v 1.10 2005/02/27 15:29:09 perry Exp $
 #
 # Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -99,6 +99,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