Module Name:    src
Committed By:   wiz
Date:           Tue Jan  4 10:23:40 UTC 2011

Modified Files:
        src/usr.sbin/sup/source: scan.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/sup/source/scan.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/sup/source/scan.c
diff -u src/usr.sbin/sup/source/scan.c:1.28 src/usr.sbin/sup/source/scan.c:1.29
--- src/usr.sbin/sup/source/scan.c:1.28	Tue Jan  4 10:14:25 2011
+++ src/usr.sbin/sup/source/scan.c	Tue Jan  4 10:23:40 2011
@@ -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);
 }
 

Reply via email to