aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2012-12-24 18:15:13 +0200
committerEli Zaretskii2012-12-24 18:15:13 +0200
commitf5c81c80c109fcaca04b25e08c34848110e2550b (patch)
treeab61da6d934e63e361fb1a4915a59325ee95ac9c /src/ChangeLog
parent216ed9cc435743a596b04917605d29f5ea562e7e (diff)
downloademacs-f5c81c80c109fcaca04b25e08c34848110e2550b.tar.gz
emacs-f5c81c80c109fcaca04b25e08c34848110e2550b.zip
Fix bug #13262 with crashes in completion on MS-Windows with non-ASCII filenames.
src/fileio.c (file_name_as_directory, directory_file_name): Accept an additional argument MULTIBYTE to indicate whether the input C came from a multibyte or a unibyte Lisp string; all callers adjusted. Don't assume the input string is always multibyte. (Ffile_name_directory) [DOS_NT]: Handle unibyte strings correctly: don't ENCODE_FILE them, and return a unibyte string if the input was unibyte. (Fexpand_file_name): Don't mix unibyte with multibyte strings, and don't assume the input strings will always be multibyte. If the input strings are multibyte, decode strings obtained from C library functions.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e8d5449a99e..c8cc486a9de 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,18 @@
12012-12-24 Eli Zaretskii <eliz@gnu.org>
2
3 * fileio.c (file_name_as_directory, directory_file_name): Accept
4 an additional argument MULTIBYTE to indicate whether the input C
5 came from a multibyte or a unibyte Lisp string; all callers
6 adjusted. Don't assume the input string is always multibyte.
7 (Bug#13262)
8 (Ffile_name_directory) [DOS_NT]: Handle unibyte strings correctly:
9 don't ENCODE_FILE them, and return a unibyte string if the input
10 was unibyte.
11 (Fexpand_file_name): Don't mix unibyte with multibyte strings, and
12 don't assume the input strings will always be multibyte. If the
13 input strings are multibyte, decode strings obtained from C
14 library functions.
15
12012-12-22 Martin Rudalics <rudalics@gmx.at> 162012-12-22 Martin Rudalics <rudalics@gmx.at>
2 17
3 * window.c (Fselect_window): Reword doc-string (Bug#13248). 18 * window.c (Fselect_window): Reword doc-string (Bug#13248).