diff options
author | Jim Meyering <jim@meyering.net> | 2003-01-15 11:59:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-01-15 11:59:07 +0000 |
commit | 800f3a1e77d6185038d3d553b4188ea138a08881 (patch) | |
tree | c0d6d6bddd8fb3478da2c1273814d27eec43c346 /announce-gen | |
parent | b1ebf2a3838cb7c673a641884fd4a64833d99258 (diff) | |
download | coreutils-800f3a1e77d6185038d3d553b4188ea138a08881.tar.xz |
(gobble_file): Fall back on using lstat when required:
when --dereference (-L) is not specified, and
- when operating on a dangling symlink
- when operating on command-line-symlink-to-directories
This fixes numerous problems. Here are examples:
- `ls dangling-symlink' would fail with `no such file...'
Now it prints `dangling-symlink'.
- `ls -i symlink' would mistakenly print the inode of the referent.
Now it prints the inode of the symlink. Likewise for --size (-s).
Based on a patch from Michael Stone.
Reported by Deepak Goel as Debian bug #173793.
Diffstat (limited to 'announce-gen')
0 files changed, 0 insertions, 0 deletions