aboutsummaryrefslogtreecommitdiff
path: root/libbb/recursive_action.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/recursive_action.c')
-rw-r--r--libbb/recursive_action.c5
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);