diff options
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -671,7 +671,7 @@ glob_helper(path, sub, flags, func, arg) #else if (!(flags & FNM_NOESCAPE)) remove_backslashes(p); #endif - if (stat(path, &st) == 0) { + if (lstat(path, &st) == 0) { (*func)(path, arg); } else if (errno != ENOENT) { |