Fix completely broken find behaviour:

a find -foo -o -bar would behave like find -bar. The same for -a
This broke (among others) ./etc/security.

Obtained from: NetBSD
This commit is contained in:
guido 1995-02-27 20:52:36 +00:00
parent 6becd688af
commit 5ed0eb5412

View File

@ -99,6 +99,13 @@ find_formplan(argv)
if (plan == NULL)
tail = plan = new;
else {
new = c_openparen();
new->next = plan;
plan = new;
new = c_closeparen();
tail->next = new;
tail = new;
new = c_print();
tail->next = new;
tail = new;
}