diff options
author | Jim Meyering <jim@meyering.net> | 2006-07-21 08:49:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-07-21 08:49:24 +0000 |
commit | 9e0a095be648284bdc8a47d2b01120fdb01c001f (patch) | |
tree | cb0053ddc797acfd3d54826a0112653883a3063c /NEWS | |
parent | 2060c55141708d2ff09cc34d27c0a2a856a21c28 (diff) | |
download | coreutils-9e0a095be648284bdc8a47d2b01120fdb01c001f.tar.xz |
Fix another bug: ls --indicator-style=file-type would call
stat for a symlink, even though it wasn't always needed.
In some cases, that unnecessary stat would cause ls to fail.
* src/ls.c (gobble_file): Don't treat symlinks specially (in
requiring a stat syscall). Remove the offending exclusion.
* NEWS: Mention the fix.
* tests/ls/stat-dtype: New file/test, for the above fix.
Also exercises the new df feature, below.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -201,6 +201,9 @@ GNU coreutils NEWS -*- outline -*- a very long symlink chain as a dangling symlink. Before, such a misinterpretation would cause these tools not to diagnose an ELOOP error. + ls --indicator-style=file-type would sometimes stat a symlink + unnecessarily. + mv: moving a symlink into the place of an existing non-directory is now done atomically; before, mv would first unlink the destination. |