diff src/callproc.c @ 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 5f1711b00ca0
children 685d256c8cb5
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.