summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2016-09-06 17:38:26 +0200
committerPádraig Brady <P@draigBrady.com>2016-09-07 10:16:59 +0100
commit5445f7811ff945ea13aa2a0fd797eb4c0a0e4db0 (patch)
tree4be1468294a8ede68d9602609618b56b0f0fc9af /NEWS
parent22d188e2991ce64445ba89dbb32e3c6bec42e235 (diff)
downloadcoreutils-5445f7811ff945ea13aa2a0fd797eb4c0a0e4db0.tar.xz
ls: allow interruption when reading slow directories
Postpone installation of signal handlers until they're needed. That is right before the first escape sequence is printed. * src/ls.c (signal_setup): A new function refactored from main() to set and restore signal handlers. (main): Move signal handler setup to put_indicator() so that the default signal handling is untouched as long as possible. Adjusted condition for restoring signal handlers to reflect the change. (put_indicator): Install signal handlers if called for the very first time. It uses the same code that was in main() prior to this commit. * NEWS: Mention the improvement. See https://bugzilla.redhat.com/1365933 Fixes http://bugs.gnu.org/24232
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 34a969e8a..f4cdf9ecb 100644
--- a/NEWS
+++ b/NEWS
@@ -59,6 +59,9 @@ GNU coreutils NEWS -*- outline -*-
install -Z now also sets the default SELinux context for created directories.
+ ls is now fully responsive to signals until the first escape sequence is
+ written to a terminal.
+
stat and tail now know about "prl_fs" (a parallels file system),
"m1fs" (a Plexistor file system), "wslfs" (Windows Subsystem for Linux),
and "smb2". stat -f --format=%T now reports the file system type, and