aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-09-09 05:32:07 +0000
committerRichard M. Stallman1997-09-09 05:32:07 +0000
commit89e1ec1dd0060c6d90455de884ae1d42dcb1ed13 (patch)
treed9daebbb765a9282ce217eb21d17fbafafd7b459 /src
parenta932f187fbb0c66e9715c087490cd3c848588b3a (diff)
downloademacs-89e1ec1dd0060c6d90455de884ae1d42dcb1ed13.tar.gz
emacs-89e1ec1dd0060c6d90455de884ae1d42dcb1ed13.zip
(Fcall_process): Encode the new current dir.
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 08eb9331a37..18bed61738c 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -119,6 +119,8 @@ char *synch_process_death;
119int synch_process_retcode; 119int synch_process_retcode;
120 120
121extern Lisp_Object Vdoc_file_name; 121extern Lisp_Object Vdoc_file_name;
122
123extern Lisp_Object Vfile_name_coding_system;
122 124
123/* Clean up when exiting Fcall_process. 125/* Clean up when exiting Fcall_process.
124 On MSDOS, delete the temporary file on any kind of termination. 126 On MSDOS, delete the temporary file on any kind of termination.
@@ -528,6 +530,10 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
528 ? build_string (NULL_DEVICE) : error_file), 530 ? build_string (NULL_DEVICE) : error_file),
529 Qnil)); 531 Qnil));
530 } 532 }
533
534 current_dir
535 = Fencode_coding_string (current_dir, Vfile_name_coding_system, Qt);
536
531#ifdef MSDOS /* MW, July 1993 */ 537#ifdef MSDOS /* MW, July 1993 */
532 /* ??? Someone who knows MSDOG needs to check whether this properly 538 /* ??? Someone who knows MSDOG needs to check whether this properly
533 closes all descriptors that it opens. 539 closes all descriptors that it opens.