diff options
author | Jim Meyering <jim@meyering.net> | 1994-07-30 16:34:17 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-07-30 16:34:17 +0000 |
commit | 32bd426778e4d37e233fe06ce66eb72b4a84c883 (patch) | |
tree | 81eae5822f0dba853b9116c074fb3a2a55ba8faa /src/rm.c | |
parent | a272d8b0c6e62937ef7b69e3ca750e34fd3e3152 (diff) | |
download | coreutils-32bd426778e4d37e233fe06ce66eb72b4a84c883.tar.xz |
.
Diffstat (limited to 'src/rm.c')
-rw-r--r-- | src/rm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,6 +33,7 @@ #include <sys/types.h> #include "system.h" #include "version.h" +#include "safe-lstat.h" #ifdef _POSIX_SOURCE /* POSIX.1 doesn't have inodes, so fake them to avoid lots of ifdefs. */ @@ -205,7 +206,7 @@ rm () return 1; } - if (lstat (pathname, &path_stats)) + if (SAFE_LSTAT (pathname, &path_stats)) { if (errno == ENOENT && ignore_missing_files) return 0; |