X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fisdir.c;h=aafa746508859a1c12f1e102214ca7feefb176d9;hb=4217177afc596dc0d1005f9eea607834ef2ae5c4;hp=adfd88a83a8b487e08496ac23a8ebdca8fb33709;hpb=d2577763d50b047b35057c18fe5906a5821cae1d;p=gnulib.git diff --git a/lib/isdir.c b/lib/isdir.c index adfd88a83..aafa74650 100644 --- a/lib/isdir.c +++ b/lib/isdir.c @@ -16,14 +16,7 @@ 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 @@ -48,5 +41,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); }