Do not skip whiteout files returned by fts_read(), which only returns them if
requested. Patch from Dave Huang in PR bin/5419.
This commit is contained in:
parent
fa94e7cb27
commit
59d5c91fe0
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: find.c,v 1.18 2003/08/07 11:13:41 agc Exp $ */
|
||||
/* $NetBSD: find.c,v 1.19 2004/03/30 22:51:13 heas Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993, 1994
|
||||
|
@ -37,7 +37,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "from: @(#)find.c 8.5 (Berkeley) 8/5/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: find.c,v 1.18 2003/08/07 11:13:41 agc Exp $");
|
||||
__RCSID("$NetBSD: find.c,v 1.19 2004/03/30 22:51:13 heas Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -215,10 +215,6 @@ find_execute(plan, paths)
|
|||
g_entry->fts_path, strerror(g_entry->fts_errno));
|
||||
rval = 1;
|
||||
continue;
|
||||
#ifdef FTS_W
|
||||
case FTS_W:
|
||||
continue;
|
||||
#endif /* FTS_W */
|
||||
}
|
||||
#define BADCH " \t\n\\'\""
|
||||
if (isxargs && strpbrk(g_entry->fts_path, BADCH)) {
|
||||
|
|
Loading…
Reference in New Issue