]> git.eshelyaron.com Git - emacs.git/commit
Prevent crashes on MS-Windows when w32-downcase-file-names is non-nil.
authorEli Zaretskii <eliz@gnu.org>
Sun, 18 Nov 2012 16:43:36 +0000 (18:43 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 18 Nov 2012 16:43:36 +0000 (18:43 +0200)
commit273ac8d1ef96529d010975b59caa99489cbc51b4
tree912938697aac6cc0eb5ab3234c6ebe4f6b2008a9
parent66c466d4fdb7f874f19191ca06fad92f9c2393cd
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
src/ChangeLog
src/fileio.c