Commit 14dc6093 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Vdefault_file_name_coding_system): Extern it.

(create_process): Use ENCODE_FILE.
parent cd913586
......@@ -266,7 +266,7 @@ extern int timers_run;
/* Maximum number of bytes to send to a pty without an eof. */
static int pty_max_bytes;
extern Lisp_Object Vfile_name_coding_system;
extern Lisp_Object Vfile_name_coding_system, Vdefault_file_name_coding_system;
#ifdef HAVE_PTYS
/* The file name of the pty opened by allocate_pty. */
......@@ -1487,8 +1487,7 @@ create_process (process, new_argv, current_dir)
Protect it from permanent change. */
char **save_environ = environ;
= Fencode_coding_string (current_dir, Vfile_name_coding_system, Qt);
current_dir = ENCODE_FILE (current_dir);
pid = vfork ();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment