1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-14 07:46:28 +02:00

(S_ISLNK): Define this instead of S_ISDIR.

This commit is contained in:
Jim Meyering
1997-12-25 17:01:35 +00:00
parent 4f71c21910
commit ea0f644cdd

View File

@@ -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