]> git.ipfire.org Git - thirdparty/coreutils.git/commit
ls: use more standard symlink traversal
authorPádraig Brady <P@draigBrady.com>
Wed, 7 Jun 2023 11:32:46 +0000 (12:32 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 7 Jun 2023 18:59:30 +0000 (19:59 +0100)
commite1e21f6dfff9c49633a358aecef5c02a7091ec1d
tree744ec62da0d8ccf772aaa0b1581cd0adfe1ccb66
parent6c975de1668775d3c8ecb2c435ba01eeb33d27db
ls: use more standard symlink traversal

* src/ls.c (gobble_file): stat() symlinks directly,
rather than their targets.  This will be more consistent
with how symlinks are generally accessed.
(make_link_name): Remove no longer used function.
Addresses https://bugs.gnu.org/63931
src/ls.c