projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[gnulib.git]
/
lib
/
rmdir.c
diff --git
a/lib/rmdir.c
b/lib/rmdir.c
index
23c2873
..
de898ec
100644
(file)
--- a/
lib/rmdir.c
+++ b/
lib/rmdir.c
@@
-35,8
+35,6
@@
extern int errno;
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif
-#include "safe-stat.h"
-
/* rmdir adapted from GNU tar. */
/* Remove directory DPATH.
/* rmdir adapted from GNU tar. */
/* Remove directory DPATH.
@@
-49,7
+47,7
@@
rmdir (dpath)
int cpid, status;
struct stat statbuf;
int cpid, status;
struct stat statbuf;
- if (s
afe_s
tat (dpath, &statbuf) != 0)
+ if (stat (dpath, &statbuf) != 0)
return -1; /* errno already set */
if (!S_ISDIR (statbuf.st_mode))
return -1; /* errno already set */
if (!S_ISDIR (statbuf.st_mode))