diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-11-18 18:43:36 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-11-18 18:43:36 +0200 |
commit | 273ac8d1ef96529d010975b59caa99489cbc51b4 (patch) | |
tree | 912938697aac6cc0eb5ab3234c6ebe4f6b2008a9 /src/ChangeLog | |
parent | 66c466d4fdb7f874f19191ca06fad92f9c2393cd (diff) | |
download | emacs-273ac8d1ef96529d010975b59caa99489cbc51b4.tar.gz |
Prevent crashes on MS-Windows when w32-downcase-file-names is non-nil.
src/fileio.c (Fsubstitute_in_file_name, Ffile_name_directory)
(Fexpand_file_name) [DOS_NT]: Pass encoded file name to
dostounix_filename. Prevents crashes down the road, because
dostounix_filename assumes it gets a unibyte string. Reported by
Michel de Ruiter <michel@sentient.nl>, see
http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00017.html
Diffstat (limited to 'src/ChangeLog')
-rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c12eff19ddd..c4f1ee60d84 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,12 @@ +2012-11-18 Eli Zaretskii <eliz@gnu.org> + + * fileio.c (Fsubstitute_in_file_name, Ffile_name_directory) + (Fexpand_file_name) [DOS_NT]: Pass encoded file name to + dostounix_filename. Prevents crashes down the road, because + dostounix_filename assumes it gets a unibyte string. Reported by + Michel de Ruiter <michel@sentient.nl>, see + http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00017.html + 2012-11-17 Eli Zaretskii <eliz@gnu.org> * w32select.c: Include w32common.h before w32term.h, so that |