[hackers] [sbase] find: Allow using multiple paths || sin

From: <git_AT_suckless.org>
Date: Fri, 15 May 2015 13:07:48 +0200 (CEST)

commit f90354bfc9761500cd6ddc1f00652a669c6f4919
Author: sin <sin_AT_2f30.org>
Date: Fri May 15 11:55:59 2015 +0100

    find: Allow using multiple paths

diff --git a/find.c b/find.c
index 5fee682..cb437ba 100644
--- a/find.c
+++ b/find.c
_AT_@ -1029,7 +1029,7 @@ main(int argc, char **argv)
                 weprintf("clock_gettime() failed:");
 
         while (npaths--)
- find(*paths, NULL);
+ find(*paths++, NULL);
 
         for (t = toks; t->type != END; t++)
                 if (t->type == PRIM && t->u.pinfo->freearg)
Received on Fri May 15 2015 - 13:07:48 CEST

This archive was generated by hypermail 2.3.0 : Fri May 15 2015 - 13:12:16 CEST