]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(S_ISLNK): Define this instead of S_ISDIR.
authorJim Meyering <jim@meyering.net>
Thu, 25 Dec 1997 17:01:35 +0000 (17:01 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 25 Dec 1997 17:01:35 +0000 (17:01 +0000)
src/du.c

index 7deac25d566b1da6b9bc374c1e43f7090dbe96c2..6c4ce3129ef34dc5d46f0b14b4788901196f0a8d 100644 (file)
--- a/src/du.c
+++ b/src/du.c
@@ -530,8 +530,8 @@ count_entry (const char *ent, int top, dev_t last_dev, int depth)
       if (opt_one_file_system && !top && last_dev != dir_dev)
        return 0;               /* Don't enter a new file system.  */
 
-#ifndef S_ISDIR
-# define S_ISDIR(s) 0
+#ifndef S_ISLNK
+# define S_ISLNK(s) 0
 #endif
       /* If we're dereferencing symlinks and we're about to chdir through
         a symlink, remember the current directory so we can return to it