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:
parent
6becd688af
commit
5ed0eb5412
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user