Return true if F refers to a (symlinked) directory. */
| 3638 | |
| 3639 | /* Return true if F refers to a (symlinked) directory. */ |
| 3640 | static bool |
| 3641 | is_linked_directory (const struct fileinfo *f) |
| 3642 | { |
| 3643 | return f->filetype == directory || f->filetype == arg_directory |
| 3644 | || S_ISDIR (f->linkmode); |
| 3645 | } |
| 3646 | |
| 3647 | /* Put the name of the file that FILENAME is a symbolic link to |
| 3648 | into the LINKNAME field of 'f'. COMMAND_LINE_ARG indicates whether |