projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a99071
)
find -xdev should return mount points, just not contents.
author
Rob Landley
<rob@landley.net>
Mon, 15 Sep 2014 01:37:23 +0000
(20:37 -0500)
committer
Rob Landley
<rob@landley.net>
Mon, 15 Sep 2014 01:37:23 +0000
(20:37 -0500)
toys/posix/find.c
patch
|
blob
|
history
diff --git
a/toys/posix/find.c
b/toys/posix/find.c
index
9f679a0
..
caec80e
100644
(file)
--- a/
toys/posix/find.c
+++ b/
toys/posix/find.c
@@
-185,7
+185,7
@@
static int do_find(struct dirtree *new)
if (new) {
if (new->parent) {
if (!dirtree_notdotdot(new)) return 0;
- if (TT.xdev && new->st.st_dev != new->parent->st.st_dev) re
turn
0;
+ if (TT.xdev && new->st.st_dev != new->parent->st.st_dev) re
curse =
0;
}
if (S_ISDIR(new->st.st_mode)) {
if (!new->again) {