projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-a wasn't getting discarded completely; test case is:
[unix-history]
/
usr
/
src
/
usr.bin
/
find
/
find.c
diff --git
a/usr/src/usr.bin/find/find.c
b/usr/src/usr.bin/find/find.c
index
69d7b2c
..
3e5e6c7
100644
(file)
--- a/
usr/src/usr.bin/find/find.c
+++ b/
usr/src/usr.bin/find/find.c
@@
-15,7
+15,7
@@
char copyright[] =
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)find.c 4.3
1
(Berkeley) %G%";
+static char sccsid[] = "@(#)find.c 4.3
2
(Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
@@
-104,7
+104,8
@@
find_formplan(argv)
* plan->next pointer.
*/
for (plan = NULL; *argv;) {
* plan->next pointer.
*/
for (plan = NULL; *argv;) {
- new = find_create(&argv);
+ if (!(new = find_create(&argv)))
+ continue;
if (plan == NULL)
tail = plan = new;
else {
if (plan == NULL)
tail = plan = new;
else {