diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-29 23:55:30 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-29 23:55:30 +0000 |
commit | 43f0a0bb3a178794ac9fa3f5010db680c5d1b018 (patch) | |
tree | 7f3c2fae714d8260c100fbad6627c7ae4e8c43fe /findutils/find.c | |
parent | e755e827f7c8ecb21787a4369d7afdeda54d112b (diff) | |
download | busybox-w32-1_7_2.tar.gz busybox-w32-1_7_2.tar.bz2 busybox-w32-1_7_2.zip |
apply all post-1.7.1 patches, set version to 1.7.21_7_2
Diffstat (limited to 'findutils/find.c')
-rw-r--r-- | findutils/find.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/findutils/find.c b/findutils/find.c index 21584681b..f3167a083 100644 --- a/findutils/find.c +++ b/findutils/find.c | |||
@@ -383,9 +383,11 @@ static int fileAction(const char *fileName, struct stat *statbuf, void *userData | |||
383 | #if ENABLE_FEATURE_FIND_XDEV | 383 | #if ENABLE_FEATURE_FIND_XDEV |
384 | if (S_ISDIR(statbuf->st_mode) && xdev_count) { | 384 | if (S_ISDIR(statbuf->st_mode) && xdev_count) { |
385 | for (i = 0; i < xdev_count; i++) { | 385 | for (i = 0; i < xdev_count; i++) { |
386 | if (xdev_dev[i] != statbuf->st_dev) | 386 | if (xdev_dev[i] == statbuf->st_dev) |
387 | return SKIP; | 387 | break; |
388 | } | 388 | } |
389 | if (i == xdev_count) | ||
390 | return SKIP; | ||
389 | } | 391 | } |
390 | #endif | 392 | #endif |
391 | i = exec_actions(actions, fileName, statbuf); | 393 | i = exec_actions(actions, fileName, statbuf); |