X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fisdir.c;h=dfd52a4a908ed86d5a66a8524c4db8105bcd04fe;hb=6aae241f16ed2dbe57475cb4c8b3a5b1ca1e9699;hp=adfd88a83a8b487e08496ac23a8ebdca8fb33709;hpb=d2577763d50b047b35057c18fe5906a5821cae1d;p=gnulib.git diff --git a/lib/isdir.c b/lib/isdir.c index adfd88a83..dfd52a4a9 100644 --- a/lib/isdir.c +++ b/lib/isdir.c @@ -16,21 +16,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include #include -#include "safe-stat.h" - #ifdef STAT_MACROS_BROKEN #undef S_ISDIR #endif /* STAT_MACROS_BROKEN. */ @@ -48,5 +39,5 @@ isdir (path) { struct stat stats; - return SAFE_STAT (path, &stats) == 0 && S_ISDIR (stats.st_mode); + return stat (path, &stats) == 0 && S_ISDIR (stats.st_mode); }