Source-Changes-HG archive

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

[src/trunk]: src/bin/pax Protect __RCSID and __COPYRIGHT from being invoked i...



details:   https://anonhg.NetBSD.org/src/rev/52a9ee744b9f
branches:  trunk
changeset: 521509:52a9ee744b9f
user:      tv <tv%NetBSD.org@localhost>
date:      Thu Jan 31 19:27:53 2002 +0000

description:
Protect __RCSID and __COPYRIGHT from being invoked if not defined.

diffstat:

 bin/pax/ar_io.c     |  6 +++---
 bin/pax/ar_subs.c   |  6 +++---
 bin/pax/buf_subs.c  |  6 +++---
 bin/pax/cpio.c      |  6 +++---
 bin/pax/file_subs.c |  6 +++---
 bin/pax/gen_subs.c  |  6 +++---
 bin/pax/pat_rep.c   |  6 +++---
 bin/pax/pax.c       |  8 ++++----
 bin/pax/sel_subs.c  |  6 +++---
 bin/pax/tables.c    |  6 +++---
 bin/pax/tar.c       |  6 +++---
 bin/pax/tty_subs.c  |  6 +++---
 12 files changed, 37 insertions(+), 37 deletions(-)

diffs (282 lines):

diff -r d2e1da8ef81e -r 52a9ee744b9f bin/pax/ar_io.c
--- a/bin/pax/ar_io.c   Thu Jan 31 19:26:34 2002 +0000
+++ b/bin/pax/ar_io.c   Thu Jan 31 19:27:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ar_io.c,v 1.21 2002/01/29 10:20:28 tv Exp $    */
+/*     $NetBSD: ar_io.c,v 1.22 2002/01/31 19:27:53 tv Exp $    */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,11 +38,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)ar_io.c    8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: ar_io.c,v 1.21 2002/01/29 10:20:28 tv Exp $");
+__RCSID("$NetBSD: ar_io.c,v 1.22 2002/01/31 19:27:53 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d2e1da8ef81e -r 52a9ee744b9f bin/pax/ar_subs.c
--- a/bin/pax/ar_subs.c Thu Jan 31 19:26:34 2002 +0000
+++ b/bin/pax/ar_subs.c Thu Jan 31 19:27:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ar_subs.c,v 1.15 2001/10/25 05:33:32 lukem Exp $       */
+/*     $NetBSD: ar_subs.c,v 1.16 2002/01/31 19:27:53 tv Exp $  */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,11 +38,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)ar_subs.c  8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: ar_subs.c,v 1.15 2001/10/25 05:33:32 lukem Exp $");
+__RCSID("$NetBSD: ar_subs.c,v 1.16 2002/01/31 19:27:53 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d2e1da8ef81e -r 52a9ee744b9f bin/pax/buf_subs.c
--- a/bin/pax/buf_subs.c        Thu Jan 31 19:26:34 2002 +0000
+++ b/bin/pax/buf_subs.c        Thu Jan 31 19:27:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: buf_subs.c,v 1.16 2001/10/25 05:33:32 lukem Exp $      */
+/*     $NetBSD: buf_subs.c,v 1.17 2002/01/31 19:27:53 tv Exp $ */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,11 +38,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)buf_subs.c 8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: buf_subs.c,v 1.16 2001/10/25 05:33:32 lukem Exp $");
+__RCSID("$NetBSD: buf_subs.c,v 1.17 2002/01/31 19:27:53 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d2e1da8ef81e -r 52a9ee744b9f bin/pax/cpio.c
--- a/bin/pax/cpio.c    Thu Jan 31 19:26:34 2002 +0000
+++ b/bin/pax/cpio.c    Thu Jan 31 19:27:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpio.c,v 1.11 2001/10/25 05:33:32 lukem Exp $  */
+/*     $NetBSD: cpio.c,v 1.12 2002/01/31 19:27:53 tv Exp $     */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,11 +38,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)cpio.c     8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: cpio.c,v 1.11 2001/10/25 05:33:32 lukem Exp $");
+__RCSID("$NetBSD: cpio.c,v 1.12 2002/01/31 19:27:53 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d2e1da8ef81e -r 52a9ee744b9f bin/pax/file_subs.c
--- a/bin/pax/file_subs.c       Thu Jan 31 19:26:34 2002 +0000
+++ b/bin/pax/file_subs.c       Thu Jan 31 19:27:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: file_subs.c,v 1.21 2002/01/29 10:20:28 tv Exp $        */
+/*     $NetBSD: file_subs.c,v 1.22 2002/01/31 19:27:53 tv Exp $        */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,11 +38,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)file_subs.c        8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: file_subs.c,v 1.21 2002/01/29 10:20:28 tv Exp $");
+__RCSID("$NetBSD: file_subs.c,v 1.22 2002/01/31 19:27:53 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d2e1da8ef81e -r 52a9ee744b9f bin/pax/gen_subs.c
--- a/bin/pax/gen_subs.c        Thu Jan 31 19:26:34 2002 +0000
+++ b/bin/pax/gen_subs.c        Thu Jan 31 19:27:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gen_subs.c,v 1.22 2001/10/28 13:06:43 lukem Exp $      */
+/*     $NetBSD: gen_subs.c,v 1.23 2002/01/31 19:27:54 tv Exp $ */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,11 +38,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: gen_subs.c,v 1.22 2001/10/28 13:06:43 lukem Exp $");
+__RCSID("$NetBSD: gen_subs.c,v 1.23 2002/01/31 19:27:54 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d2e1da8ef81e -r 52a9ee744b9f bin/pax/pat_rep.c
--- a/bin/pax/pat_rep.c Thu Jan 31 19:26:34 2002 +0000
+++ b/bin/pax/pat_rep.c Thu Jan 31 19:27:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pat_rep.c,v 1.12 2001/10/25 05:33:33 lukem Exp $       */
+/*     $NetBSD: pat_rep.c,v 1.13 2002/01/31 19:27:54 tv Exp $  */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,11 +38,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)pat_rep.c  8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: pat_rep.c,v 1.12 2001/10/25 05:33:33 lukem Exp $");
+__RCSID("$NetBSD: pat_rep.c,v 1.13 2002/01/31 19:27:54 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d2e1da8ef81e -r 52a9ee744b9f bin/pax/pax.c
--- a/bin/pax/pax.c     Thu Jan 31 19:26:34 2002 +0000
+++ b/bin/pax/pax.c     Thu Jan 31 19:27:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pax.c,v 1.16 2002/01/29 10:20:29 tv Exp $      */
+/*     $NetBSD: pax.c,v 1.17 2002/01/31 19:27:54 tv Exp $      */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,16 +38,16 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__COPYRIGHT) && !defined(lint)
 __COPYRIGHT("@(#) Copyright (c) 1992, 1993\n\
        The Regents of the University of California.  All rights reserved.\n");
 #endif /* not lint */
 
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)pax.c      8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: pax.c,v 1.16 2002/01/29 10:20:29 tv Exp $");
+__RCSID("$NetBSD: pax.c,v 1.17 2002/01/31 19:27:54 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d2e1da8ef81e -r 52a9ee744b9f bin/pax/sel_subs.c
--- a/bin/pax/sel_subs.c        Thu Jan 31 19:26:34 2002 +0000
+++ b/bin/pax/sel_subs.c        Thu Jan 31 19:27:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sel_subs.c,v 1.14 2001/12/04 17:56:30 wiz Exp $        */
+/*     $NetBSD: sel_subs.c,v 1.15 2002/01/31 19:27:54 tv Exp $ */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,11 +38,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)sel_subs.c 8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: sel_subs.c,v 1.14 2001/12/04 17:56:30 wiz Exp $");
+__RCSID("$NetBSD: sel_subs.c,v 1.15 2002/01/31 19:27:54 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d2e1da8ef81e -r 52a9ee744b9f bin/pax/tables.c
--- a/bin/pax/tables.c  Thu Jan 31 19:26:34 2002 +0000
+++ b/bin/pax/tables.c  Thu Jan 31 19:27:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tables.c,v 1.16 2002/01/29 10:20:29 tv Exp $   */
+/*     $NetBSD: tables.c,v 1.17 2002/01/31 19:27:54 tv Exp $   */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,11 +38,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)tables.c   8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: tables.c,v 1.16 2002/01/29 10:20:29 tv Exp $");
+__RCSID("$NetBSD: tables.c,v 1.17 2002/01/31 19:27:54 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d2e1da8ef81e -r 52a9ee744b9f bin/pax/tar.c
--- a/bin/pax/tar.c     Thu Jan 31 19:26:34 2002 +0000
+++ b/bin/pax/tar.c     Thu Jan 31 19:27:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tar.c,v 1.20 2001/10/28 13:06:43 lukem Exp $   */
+/*     $NetBSD: tar.c,v 1.21 2002/01/31 19:27:54 tv Exp $      */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,11 +38,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)tar.c      8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: tar.c,v 1.20 2001/10/28 13:06:43 lukem Exp $");
+__RCSID("$NetBSD: tar.c,v 1.21 2002/01/31 19:27:54 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d2e1da8ef81e -r 52a9ee744b9f bin/pax/tty_subs.c
--- a/bin/pax/tty_subs.c        Thu Jan 31 19:26:34 2002 +0000
+++ b/bin/pax/tty_subs.c        Thu Jan 31 19:27:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tty_subs.c,v 1.10 2001/10/25 05:33:34 lukem Exp $      */
+/*     $NetBSD: tty_subs.c,v 1.11 2002/01/31 19:27:54 tv Exp $ */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,11 +38,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)tty_subs.c 8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: tty_subs.c,v 1.10 2001/10/25 05:33:34 lukem Exp $");
+__RCSID("$NetBSD: tty_subs.c,v 1.11 2002/01/31 19:27:54 tv Exp $");
 #endif
 #endif /* not lint */
 



Home | Main Index | Thread Index | Old Index