From 5c6924c19695854432be0f04e4d75298720a2030 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Fri, 1 Apr 1994 00:26:31 -0800 Subject: [PATCH] doing a chmod on a directory causing a cycle is probably the right thing to do SCCS-vsn: bin/chmod/chmod.c 8.7 --- usr/src/bin/chmod/chmod.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr/src/bin/chmod/chmod.c b/usr/src/bin/chmod/chmod.c index f17d51296f..4c9de50f8f 100644 --- a/usr/src/bin/chmod/chmod.c +++ b/usr/src/bin/chmod/chmod.c @@ -12,7 +12,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)chmod.c 8.6 (Berkeley) %G%"; +static char sccsid[] = "@(#)chmod.c 8.7 (Berkeley) %G%"; #endif /* not lint */ #include @@ -135,8 +135,6 @@ done: argv += optind; continue; fts_set(ftsp, p, FTS_SKIP); break; - case FTS_DC: /* Ignore. */ - continue; case FTS_DNR: /* Warn, chmod, continue. */ errno = p->fts_errno; warn("%s", p->fts_path); -- 2.20.1