summaryrefslogtreecommitdiff
path: root/security/destroy/patches/patch-aa
blob: 847ebe1dc007dff87f6d13efa4db3ce235be4b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-aa,v 1.3 2005/11/01 18:52:45 tv Exp $

--- destroy.c.orig	2004-04-15 11:21:38.000000000 -0400
+++ destroy.c
@@ -196,6 +196,7 @@ void traverse(char **argv, int fflag, in
 				}
 				break;
 			
+#ifdef S_IFWHT
 			case S_IFWHT:  		/* whiteout */
 				if(fflag) {
 					if(!qflag) {
@@ -206,6 +207,7 @@ void traverse(char **argv, int fflag, in
 					fprintf(stderr, "Whiteout: \t %s \t Skipping... no '-f' flag set!\n", p->fts_accpath);
 				}
 				break;
+#endif
 
 			default: 
 				if(!qflag) {