diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-19 12:28:02 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-19 12:28:02 +0000 |
commit | 90c0e02711db3cfdef5b909a7cd29dce5ebd6463 (patch) | |
tree | 03083dbae0647bba223539784cbf96631f945891 | |
parent | 77e4428e58ebc910bc125c56c7a896e286163900 (diff) | |
download | coreutils-90c0e02711db3cfdef5b909a7cd29dce5ebd6463.tar.xz |
Remove all S_IS* and S_IF* definitions.
Instead, just include "stat-macros.h".
-rw-r--r-- | lib/canonicalize.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/canonicalize.c b/lib/canonicalize.c index c1f5aacbb..f56d80f22 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 |