Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb do not leave spaces at the end of stripped RCS Ids



details:   https://anonhg.NetBSD.org/src/rev/3bd7899a141f
branches:  trunk
changeset: 574396:3bd7899a141f
user:      perry <perry%NetBSD.org@localhost>
date:      Sun Feb 27 15:37:33 2005 +0000

description:
do not leave spaces at the end of stripped RCS Ids

diffstat:

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

diffs (18 lines):

diff -r 99dd09af0091 -r 3bd7899a141f sys/dev/usb/devlist2h.awk
--- a/sys/dev/usb/devlist2h.awk Sun Feb 27 15:34:22 2005 +0000
+++ b/sys/dev/usb/devlist2h.awk Sun Feb 27 15:37:33 2005 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/awk -f
-#      $NetBSD: devlist2h.awk,v 1.11 2003/12/15 07:32:21 jmc Exp $
+#      $NetBSD: devlist2h.awk,v 1.12 2005/02/27 15:37:33 perry Exp $
 #
 # Copyright (c) 1995, 1996 Christopher G. Demetriou
 # All rights reserved.
@@ -37,6 +37,7 @@
 NR == 1 {
        VERSION = $0
        gsub("\\$", "", VERSION)
+       gsub(/ $/, "", VERSION)
 
        if (os == "NetBSD")
                printf("/*\t$NetBSD" "$\t*/\n\n") > dfile



Home | Main Index | Thread Index | Old Index