(S_ISLNK, S_ISFIFO, S_ISSOCK, S_ISCHR, S_ISBLK, S_ISDOOR):
authorJim Meyering <jim@meyering.net>
Wed, 3 Feb 1999 05:41:18 +0000 (05:41 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 3 Feb 1999 05:41:18 +0000 (05:41 +0000)
commit751a3dc73bd707c853f2d707dc06dcd0334da060
tree15de48dd753c75812735dbd7c247c7aa94063c84
parent43aa4122fc84ca2695e7644f7dd942e9808c73c2
(S_ISLNK, S_ISFIFO, S_ISSOCK, S_ISCHR, S_ISBLK, S_ISDOOR):
Define to zero if not already defined.
(HAVE_SYMLINKS): Define.
(gobble_file): Remove #ifdef.
(get_link_name, make_link_path): Guard these with #if HAVE_SYMLINKS
rather than #ifdef S_ISLNK.
(print_type_indicator): Remove #ifdefs and reorganize.
(print_color_indicator): Remove #ifdefs.
(length_of_file_name_and_frills): Likewise.
src/ls.c