projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d33ed58
)
(rmdir): Use stat, not safe_stat.
author
Jim Meyering
<jim@meyering.net>
Sat, 13 May 1995 13:20:19 +0000
(13:20 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 13 May 1995 13:20:19 +0000
(13:20 +0000)
lib/rmdir.c
patch
|
blob
|
history
diff --git
a/lib/rmdir.c
b/lib/rmdir.c
index 23c2873c3d8949836ef29f36cc876025f8a8550e..a8c1f49eb0807d617291ab6e688d44cedfcb13ca 100644
(file)
--- a/
lib/rmdir.c
+++ b/
lib/rmdir.c
@@
-49,7
+49,7
@@
rmdir (dpath)
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))