aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index 59bb8e3757d..65132d3fdb9 100644
--- a/src/process.c
+++ b/src/process.c
@@ -266,7 +266,7 @@ extern int timers_run;
266/* Maximum number of bytes to send to a pty without an eof. */ 266/* Maximum number of bytes to send to a pty without an eof. */
267static int pty_max_bytes; 267static int pty_max_bytes;
268 268
269extern Lisp_Object Vfile_name_coding_system; 269extern Lisp_Object Vfile_name_coding_system, Vdefault_file_name_coding_system;
270 270
271#ifdef HAVE_PTYS 271#ifdef HAVE_PTYS
272/* The file name of the pty opened by allocate_pty. */ 272/* The file name of the pty opened by allocate_pty. */
@@ -1487,8 +1487,7 @@ create_process (process, new_argv, current_dir)
1487 Protect it from permanent change. */ 1487 Protect it from permanent change. */
1488 char **save_environ = environ; 1488 char **save_environ = environ;
1489 1489
1490 current_dir 1490 current_dir = ENCODE_FILE (current_dir);
1491 = Fencode_coding_string (current_dir, Vfile_name_coding_system, Qt);
1492 1491
1493#ifndef WINDOWSNT 1492#ifndef WINDOWSNT
1494 pid = vfork (); 1493 pid = vfork ();