Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sup/source unifdef -U RCSSTAT
details: https://anonhg.NetBSD.org/src/rev/560cab5cfc85
branches: trunk
changeset: 760406:560cab5cfc85
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Jan 04 10:23:40 2011 +0000
description:
unifdef -U RCSSTAT
This code was added in 1.2 by brezak with changes for the commit message:
"Change <sys/dir.h> to <dirent.h>"
and looks like it never worked.
diffstat:
usr.sbin/sup/source/scan.c | 28 +---------------------------
1 files changed, 1 insertions(+), 27 deletions(-)
diffs (49 lines):
diff -r 53b6d4a34b85 -r 560cab5cfc85 usr.sbin/sup/source/scan.c
--- a/usr.sbin/sup/source/scan.c Tue Jan 04 10:18:42 2011 +0000
+++ b/usr.sbin/sup/source/scan.c Tue Jan 04 10:23:40 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scan.c,v 1.28 2011/01/04 10:14:25 wiz Exp $ */
+/* $NetBSD: scan.c,v 1.29 2011/01/04 10:23:40 wiz Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -166,11 +166,6 @@
extern int trace; /* trace directories */
extern int newonly; /* new files only */
-#ifdef RCSSTAT
-extern char *rcs_branch;
-extern int candorcs;
-#endif
-
/*************************************************
*** STATIC R O U T I N E S ***
*************************************************/
@@ -644,27 +639,6 @@
}
if (access(name, R_OK) < 0)
return;
-#ifdef RCSSTAT
- if (candorcs) {
- char rcs_release[STRINGLENGTH];
- int status;
- if (rcs_branch != NULL)
-#ifdef CVS
- sprintf(rcs_release, "-r %s", rcs_branch);
-#else
- sprintf(rcs_release, "-r%s", rcs_branch);
-#endif
- else
- rcs_release[0] = '\0';
-#ifdef CVS
- sprintf(sys_com, "cvs -d %s -r -l -Q co -p %s %s > %s\n", cvs_root, rcs_release, name, rcs_file);
-#else
- status = runp("rcsstat", "rcsstat", "-q", rcs_release, name, 0);
-#endif
- if (status != 0)
- return;
- }
-#endif
listname(fullname, &statbuf);
}
Home |
Main Index |
Thread Index |
Old Index