diff options
author | Jim Meyering <jim@meyering.net> | 2006-07-25 16:35:59 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-07-25 16:35:59 +0000 |
commit | 0b34021d6db942c7e70fbc95d2fc45ef6a7f36f6 (patch) | |
tree | b8d6c7126663621dc7774397b66c17b106ed52a8 /src/ls.c | |
parent | 995cbf7830c7bf98b737f136c3916d1af05e6c60 (diff) | |
download | coreutils-0b34021d6db942c7e70fbc95d2fc45ef6a7f36f6.tar.xz |
* src/ls.c (gobble_file): When handling a stat-failed entry,
print the entry name not the absolute_name -- to be consistent
with the usual case.
* tests/ls/stat-failed: Update accordingly.
Diffstat (limited to 'src/ls.c')
-rw-r--r-- | src/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2625,7 +2625,7 @@ gobble_file (char const *name, enum filetype type, ino_t inode, #if USE_ACL f->have_acl = false; #endif - f->name = xstrdup (absolute_name); + f->name = xstrdup (name); files_index++; return 0; |