projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]: Copy untruncated block
[gnulib.git]
/
lib
/
isdir.c
diff --git
a/lib/isdir.c
b/lib/isdir.c
index
c9549bd
..
dfd52a4
100644
(file)
--- a/
lib/isdir.c
+++ b/
lib/isdir.c
@@
-22,8
+22,6
@@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include "safe-stat.h"
-
#ifdef STAT_MACROS_BROKEN
#undef S_ISDIR
#endif /* STAT_MACROS_BROKEN. */
#ifdef STAT_MACROS_BROKEN
#undef S_ISDIR
#endif /* STAT_MACROS_BROKEN. */
@@
-41,5
+39,5
@@
isdir (path)
{
struct stat stats;
{
struct stat stats;
- return s
afe_s
tat (path, &stats) == 0 && S_ISDIR (stats.st_mode);
+ return stat (path, &stats) == 0 && S_ISDIR (stats.st_mode);
}
}