# HG changeset patch # User Richard M. Stallman # Date 873783058 0 # Node ID 3bee81323f7392e3114d5433b342f1919cf0b08c # Parent 5acb1a85cb5db55f3b82078cbfab13c8bec307b9 (create_process): Encode the new current dir. diff -r 5acb1a85cb5d -r 3bee81323f73 src/process.c --- a/src/process.c Tue Sep 09 02:59:34 1997 +0000 +++ b/src/process.c Tue Sep 09 05:30:58 1997 +0000 @@ -266,6 +266,8 @@ /* Maximum number of bytes to send to a pty without an eof. */ static int pty_max_bytes; +extern Lisp_Object Vfile_name_coding_system; + #ifdef HAVE_PTYS /* The file name of the pty opened by allocate_pty. */ @@ -1453,6 +1455,9 @@ Protect it from permanent change. */ char **save_environ = environ; + current_dir + = Fencode_coding_string (current_dir, Vfile_name_coding_system, Qt); + #ifndef WINDOWSNT pid = vfork (); if (pid == 0)