summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-07-21 08:49:24 +0000
committerJim Meyering <jim@meyering.net>2006-07-21 08:49:24 +0000
commit9e0a095be648284bdc8a47d2b01120fdb01c001f (patch)
treecb0053ddc797acfd3d54826a0112653883a3063c /NEWS
parent2060c55141708d2ff09cc34d27c0a2a856a21c28 (diff)
downloadcoreutils-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--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0ec1148f6..b1991b150 100644
--- a/NEWS
+++ b/NEWS
@@ -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.