summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-15 11:59:07 +0000
committerJim Meyering <jim@meyering.net>2003-01-15 11:59:07 +0000
commit800f3a1e77d6185038d3d553b4188ea138a08881 (patch)
treec0d6d6bddd8fb3478da2c1273814d27eec43c346 /tests
parentb1ebf2a3838cb7c673a641884fd4a64833d99258 (diff)
downloadcoreutils-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 'tests')
0 files changed, 0 insertions, 0 deletions