postorder find fails because of a missing `break'
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 12 Sep 1990 02:44:42 +0000 (18:44 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 12 Sep 1990 02:44:42 +0000 (18:44 -0800)
test case is "find -d /tmp user root".

SCCS-vsn: usr.bin/find/find.c 4.33

usr/src/usr.bin/find/find.c

index 3e5e6c7..36f0de6 100644 (file)
@@ -15,7 +15,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)find.c     4.32 (Berkeley) %G%";
+static char sccsid[] = "@(#)find.c     4.33 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -201,6 +201,7 @@ find_execute(plan, paths)
                case FTS_DP:
                        if (!depth)
                                continue;
                case FTS_DP:
                        if (!depth)
                                continue;
+                       break;
                case FTS_NS:
                        if (!(ftsoptions & FTS_NOSTAT)) {
                                (void)fprintf(stderr,
                case FTS_NS:
                        if (!(ftsoptions & FTS_NOSTAT)) {
                                (void)fprintf(stderr,