From: Jim Meyering Date: Sat, 19 Jun 2004 12:28:02 +0000 (+0000) Subject: Remove all S_IS* and S_IF* definitions. X-Git-Tag: v5.3.0~1309 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=90c0e02711db3cfdef5b909a7cd29dce5ebd6463;p=thirdparty%2Fcoreutils.git Remove all S_IS* and S_IF* definitions. Instead, just include "stat-macros.h". --- diff --git a/lib/canonicalize.c b/lib/canonicalize.c index c1f5aacbb6..f56d80f22c 100644 --- a/lib/canonicalize.c +++ b/lib/canonicalize.c @@ -76,18 +76,9 @@ extern int errno; # endif # include "pathmax.h" +# include "stat-macros.h" # include "xreadlink.h" -# ifdef STAT_MACROS_BROKEN -# undef S_ISLNK -# endif - -# ifndef S_ISLNK -# ifdef S_IFLNK -# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) -# endif -# endif - #endif /* !HAVE_RESOLVEPATH */ /* Return the canonical absolute name of file NAME. A canonical name