X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fisdir.c;h=428334633b70a7ec208bd56a7a140937ac3f2fa0;hb=3b3231a029a148f719f3347a4ec9ab11f7625231;hp=dbc9bd07df9c9be1e5ce922fd88654e449678051;hpb=300424a2d37b17d304be2783ed40f2efa4d950c0;p=gnulib.git diff --git a/lib/isdir.c b/lib/isdir.c index dbc9bd07d..428334633 100644 --- a/lib/isdir.c +++ b/lib/isdir.c @@ -12,8 +12,8 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include @@ -22,8 +22,6 @@ #include #include -#include "safe-stat.h" - #ifdef STAT_MACROS_BROKEN #undef S_ISDIR #endif /* STAT_MACROS_BROKEN. */ @@ -41,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); }