From 43007d423125e3e0cc273d1b26f49b3bc9f53b73 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 3 Sep 2003 06:10:41 +0000 Subject: [PATCH] Ignore backup files. --- shredtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shredtree.c b/shredtree.c index fd780dd..0113bcb 100644 --- a/shredtree.c +++ b/shredtree.c @@ -41,7 +41,7 @@ static int eligible(const char *file) #define endswith(suff) !strcmp(suff, file + strlen(file) - strlen(suff)) if (endswith(".c") || endswith(".h") || endswith(".html")) return(1); - else if (endswith(".o")) + else if (endswith(".o") || endswith("~")) return(0); #undef endswith else -- 2.43.0