diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-30 16:11:26 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-30 16:11:26 +0100 |
commit | f9f2117d5b7057f986850741b85bde5c30590b02 (patch) | |
tree | 5a069c443649f216bd1fe4474e80ebc37c72a38d /libbb/recursive_action.c | |
parent | 40b68b6ecaf47c6a68bfa4158a61ce41bffa8284 (diff) | |
download | busybox-w32-f9f2117d5b7057f986850741b85bde5c30590b02.tar.gz busybox-w32-f9f2117d5b7057f986850741b85bde5c30590b02.tar.bz2 busybox-w32-f9f2117d5b7057f986850741b85bde5c30590b02.zip |
Update mingw.c from latest git/compat
Diffstat (limited to 'libbb/recursive_action.c')
-rw-r--r-- | libbb/recursive_action.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c index 560c93cad..b5cf7c0ab 100644 --- a/libbb/recursive_action.c +++ b/libbb/recursive_action.c | |||
@@ -73,12 +73,7 @@ int FAST_FUNC recursive_action(const char *fileName, | |||
73 | if (depth == 0) | 73 | if (depth == 0) |
74 | follow = ACTION_FOLLOWLINKS | ACTION_FOLLOWLINKS_L0; | 74 | follow = ACTION_FOLLOWLINKS | ACTION_FOLLOWLINKS_L0; |
75 | follow &= flags; | 75 | follow &= flags; |
76 | #if ENABLE_PLATFORM_MINGW32 | ||
77 | /* stat can't be aliased, and MinGW uses lstat anyway */ | ||
78 | status = lstat(fileName, &statbuf); | ||
79 | #else | ||
80 | status = (follow ? stat : lstat)(fileName, &statbuf); | 76 | status = (follow ? stat : lstat)(fileName, &statbuf); |
81 | #endif | ||
82 | if (status < 0) { | 77 | if (status < 0) { |
83 | #ifdef DEBUG_RECURS_ACTION | 78 | #ifdef DEBUG_RECURS_ACTION |
84 | bb_error_msg("status=%d flags=%x", status, flags); | 79 | bb_error_msg("status=%d flags=%x", status, flags); |