Fix directory-files{,-recur} detection of symlinks to dirs
authorNelson Ferreira <nferreira9@bloomberg.net>
Fri, 3 Apr 2020 12:11:49 +0000 (08:11 -0400)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Fri, 3 Apr 2020 13:36:24 +0000 (09:36 -0400)
commitcedd8dcf8f3a1cdbc417d5ca4dce15993f99b5a2
tree8b5bdefad281026ceaae605d1ed52367b55d4df7
parent7aacd253610b70bd48d5335d4374c06d72a13657
Fix directory-files{,-recur} detection of symlinks to dirs

    * src/dired.c(dfr_inner): For the systems without d_type in
      dirent, the code did not try to detect symlinks to directories,
      preventing 'subdir from working.  Added same logic for that
      branch as in the case where d_type is present.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/dired.c