Fix part of bug #15260 with from directory with a non-ASCII name.
src/emacs.c (Fdump_emacs): Encode FILENAME and SYMFILE arguments before passing them to 'unexec'.
This commit is contained in:
parent
2a03e2bc6f
commit
c556b44bd5
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-10-26 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* emacs.c (Fdump_emacs): Encode FILENAME and SYMFILE arguments
|
||||
before passing them to 'unexec'. (Bug#15260)
|
||||
|
||||
2013-10-26 Xue Fuqiao <xfq.free@gmail.com>
|
||||
|
||||
* fringe.c (set_fringe_bitmap_face): Add usage note from lispref.
|
||||
|
|
|
@ -2044,11 +2044,15 @@ You must run Emacs in batch mode in order to dump it. */)
|
|||
|
||||
CHECK_STRING (filename);
|
||||
filename = Fexpand_file_name (filename, Qnil);
|
||||
filename = ENCODE_FILE (filename);
|
||||
if (!NILP (symfile))
|
||||
{
|
||||
CHECK_STRING (symfile);
|
||||
if (SCHARS (symfile))
|
||||
symfile = Fexpand_file_name (symfile, Qnil);
|
||||
{
|
||||
symfile = Fexpand_file_name (symfile, Qnil);
|
||||
symfile = ENCODE_FILE (symfile);
|
||||
}
|
||||
}
|
||||
|
||||
tem = Vpurify_flag;
|
||||
|
|
Loading…
Add table
Reference in a new issue