find: Allow using multiple paths

This commit is contained in:
sin 2015-05-15 11:55:59 +01:00
parent 86f9ce55a8
commit f90354bfc9

2
find.c
View File

@ -1029,7 +1029,7 @@ main(int argc, char **argv)
weprintf("clock_gettime() failed:"); weprintf("clock_gettime() failed:");
while (npaths--) while (npaths--)
find(*paths, NULL); find(*paths++, NULL);
for (t = toks; t->type != END; t++) for (t = toks; t->type != END; t++)
if (t->type == PRIM && t->u.pinfo->freearg) if (t->type == PRIM && t->u.pinfo->freearg)