Fix -mindepth and -maxdepth to not drill down into excluded directories.
authorRob Landley <rob@landley.net>
Fri, 8 Aug 2014 04:19:18 +0000 (23:19 -0500)
committerRob Landley <rob@landley.net>
Fri, 8 Aug 2014 04:19:18 +0000 (23:19 -0500)
commitc572530223ddad725e0f7606bf4b898d8f95f640
tree0a2ab1c359358456e60cdf4390809f9610ff9a85
parentc39a337101de8613e71c5c474feb54297cce5eaa
Fix -mindepth and -maxdepth to not drill down into excluded directories.

The fact other implementations don't implement "! -mindepth" doesn't mean we can't. Also, find uses +N, N, -N for everything else but this extension doesn't. Also, -depth already had a definition and this has nothing to do with that. It's a poorly thought-out extension, is what I'm saying.
toys/posix/find.c