X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frmdir.c;h=23c2873c3d8949836ef29f36cc876025f8a8550e;hb=d33ed582fc804afef36639a9fbcf8a3e242dc7b7;hp=f10b3969e67b74c71f67940f102eed3dfea72f21;hpb=760d9074e721bbffc97ca68eb48c06a248727c4e;p=gnulib.git diff --git a/lib/rmdir.c b/lib/rmdir.c index f10b3969e..23c2873c3 100644 --- a/lib/rmdir.c +++ b/lib/rmdir.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 @@ -56,7 +49,7 @@ rmdir (dpath) int cpid, status; struct stat statbuf; - if (SAFE_STAT (dpath, &statbuf) != 0) + if (safe_stat (dpath, &statbuf) != 0) return -1; /* errno already set */ if (!S_ISDIR (statbuf.st_mode))