changeset 19838:7e1bbe58eb02

(Fcall_process): Encode the new current dir.
author Richard M. Stallman <rms@gnu.org>
date Tue, 09 Sep 1997 05:32:07 +0000
parents 3bee81323f73
children 752ad8dab7fd
files src/callproc.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Tue Sep 09 05:30:58 1997 +0000
+++ b/src/callproc.c	Tue Sep 09 05:32:07 1997 +0000
@@ -119,6 +119,8 @@
 int synch_process_retcode;
 
 extern Lisp_Object Vdoc_file_name;
+
+extern Lisp_Object Vfile_name_coding_system;
 
 /* Clean up when exiting Fcall_process.
    On MSDOS, delete the temporary file on any kind of termination.
@@ -528,6 +530,10 @@
 				   ? build_string (NULL_DEVICE) : error_file),
 				  Qnil));
       }
+
+    current_dir
+      = Fencode_coding_string (current_dir, Vfile_name_coding_system, Qt);
+
 #ifdef MSDOS /* MW, July 1993 */
     /* ??? Someone who knows MSDOG needs to check whether this properly
        closes all descriptors that it opens.