From 767f482cb6789fdfab0ea1aa76ef772f76c35712 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 8 Sep 2003 08:06:21 +0000 Subject: [PATCH] Exclude SCCS and RCS directories. --- shredtree.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shredtree.c b/shredtree.c index 0cc1f45..78afbd1 100644 --- a/shredtree.c +++ b/shredtree.c @@ -42,6 +42,8 @@ static int eligible(const char *file) return(1); else if (endswith(".o") || endswith("~")) return(0); + else if (strstr(file, "CVS") || strstr(file,"RCS") || strstr(file,"SCCS")) + return(0); #undef endswith else { -- 2.43.0