emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 3e13433: ; Improve the last change in NEWS.


From: Eli Zaretskii
Subject: master 3e13433: ; Improve the last change in NEWS.
Date: Sat, 18 Sep 2021 02:41:58 -0400 (EDT)

branch: master
commit 3e13433ea97b988919a0599c19099b303ee4a4b6
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Improve the last change in NEWS.
---
 etc/NEWS | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index b93e876..cfa0c33 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -294,11 +294,15 @@ personalize the uniquified buffer name.
 ---
 ** 'remove-hook' is now an interactive command.
 
+---
 ** 'expand-file-name' now checks for null bytes in filenames.
 The function will now check for null bytes in both NAME and
 DEFAULT-DIRECTORY arguments, as well as in the 'default-directory'
-buffer-local variable, assuming its value is used.  If null bytes are
+buffer-local variable, when its value is used.  If null bytes are
 found, 'expand-file-name' will signal an error.
+This means that practically all file-related operations will now check
+file names for null bytes, thus avoiding subtle bugs with silently
+using only the part of file name up to the first null byte.
 
 ---
 ** Frames
@@ -4155,12 +4159,6 @@ Emacs constructs the nondirectory part of the auto-save 
file name by
 applying that 'secure-hash' to the buffer file name.  This avoids any
 risk of excessively long file names.
 
----
-** File names checked for null bytes.
-Functions operating on local file names now check that the file names
-don't contain any NUL bytes.  This avoids subtle bugs caused by
-silently using only the part of the file name until the first NUL byte.
-
 +++
 ** New user option 'process-file-return-signal-string'.
 It controls, whether 'process-file' returns a string when a remote



reply via email to

[Prev in Thread] Current Thread [Next in Thread]