Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/mklocale This is a host tool, so check if __RCSID is...



details:   https://anonhg.NetBSD.org/src/rev/814a253959ca
branches:  trunk
changeset: 546157:814a253959ca
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Apr 21 08:41:28 2003 +0000

description:
This is a host tool, so check if __RCSID is defined before using it.

diffstat:

 usr.bin/mklocale/lex.l  |  6 ++++--
 usr.bin/mklocale/yacc.y |  6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r f2199f82a096 -r 814a253959ca usr.bin/mklocale/lex.l
--- a/usr.bin/mklocale/lex.l    Mon Apr 21 08:14:45 2003 +0000
+++ b/usr.bin/mklocale/lex.l    Mon Apr 21 08:41:28 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lex.l,v 1.10 2003/04/21 02:03:41 christos Exp $        */
+/*     $NetBSD: lex.l,v 1.11 2003/04/21 08:41:28 bjh21 Exp $   */
 
 %{
 /*-
@@ -46,7 +46,9 @@
 #if 0
 static char sccsid[] = "@(#)lex.l      8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: lex.l,v 1.10 2003/04/21 02:03:41 christos Exp $");
+#ifdef __RCSID
+__RCSID("$NetBSD: lex.l,v 1.11 2003/04/21 08:41:28 bjh21 Exp $");
+#endif
 #endif
 #endif /* not lint */
 
diff -r f2199f82a096 -r 814a253959ca usr.bin/mklocale/yacc.y
--- a/usr.bin/mklocale/yacc.y   Mon Apr 21 08:14:45 2003 +0000
+++ b/usr.bin/mklocale/yacc.y   Mon Apr 21 08:41:28 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: yacc.y,v 1.18 2003/04/21 02:03:42 christos Exp $       */
+/*     $NetBSD: yacc.y,v 1.19 2003/04/21 08:41:28 bjh21 Exp $  */
 
 %{
 /*-
@@ -47,7 +47,9 @@
 static char sccsid[] = "@(#)yacc.y     8.1 (Berkeley) 6/6/93";
 static char rcsid[] = "$FreeBSD$";
 #else
-__RCSID("$NetBSD: yacc.y,v 1.18 2003/04/21 02:03:42 christos Exp $");
+#ifdef __RCSID
+__RCSID("$NetBSD: yacc.y,v 1.19 2003/04/21 08:41:28 bjh21 Exp $");
+#endif
 #endif
 #endif /* not lint */
 



Home | Main Index | Thread Index | Old Index