From: Kenichi Handa Date: Tue, 3 Mar 1998 07:18:46 +0000 (+0000) Subject: (Vdefault_file_name_coding_system): Extern it. X-Git-Tag: emacs-20.3~2025 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=14dc6093870e0d04dca24a84d5c337b506981e08;p=emacs.git (Vdefault_file_name_coding_system): Extern it. (create_process): Use ENCODE_FILE. --- 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; /* 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; - current_dir - = Fencode_coding_string (current_dir, Vfile_name_coding_system, Qt); + current_dir = ENCODE_FILE (current_dir); #ifndef WINDOWSNT pid = vfork ();