[dev] [sbase][patch] recurse work

From: Evan Gates <evan.gates_AT_gmail.com>
Date: Fri, 6 Mar 2015 12:37:40 -0800

1) add loop detection to recurse
2) call the correct stat function in recurse instead of both stat and
lstat
3) split out readdir loop into applydir useful for avoiding redundant
stat calls and when extra logic is needed (as in find)
4) use applydir in find instead of doing it manually (still need to
finish const propagation, hit a wall in my understanding)

I think it should be possible to get rid of most uses of fnck() now
that recurse can find loops, but I have not dug in far enough yet to
be sure.

-emg

Received on Fri Mar 06 2015 - 21:37:40 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 06 2015 - 21:48:07 CET