comparison src/callproc.c @ 21053:77d489dd420a

(Vdefault_file_name_coding_system): Extern it. (Fcall_process): Use ENCODE_FILE.
author Kenichi Handa <handa@m17n.org>
date Tue, 03 Mar 1998 07:18:46 +0000
parents 3d4005eb0e71
children bfb9556f87db
comparison
equal deleted inserted replaced
21052:eea2c6235bd1 21053:77d489dd420a
118 this is exit code of synchronous subprocess. */ 118 this is exit code of synchronous subprocess. */
119 int synch_process_retcode; 119 int synch_process_retcode;
120 120
121 extern Lisp_Object Vdoc_file_name; 121 extern Lisp_Object Vdoc_file_name;
122 122
123 extern Lisp_Object Vfile_name_coding_system; 123 extern Lisp_Object Vfile_name_coding_system, Vdefault_file_name_coding_system;
124 124
125 /* Clean up when exiting Fcall_process. 125 /* Clean up when exiting Fcall_process.
126 On MSDOS, delete the temporary file on any kind of termination. 126 On MSDOS, delete the temporary file on any kind of termination.
127 On Unix, kill the process and any children on termination by signal. */ 127 On Unix, kill the process and any children on termination by signal. */
128 128
550 Fcons ((NILP (error_file) 550 Fcons ((NILP (error_file)
551 ? build_string (NULL_DEVICE) : error_file), 551 ? build_string (NULL_DEVICE) : error_file),
552 Qnil)); 552 Qnil));
553 } 553 }
554 554
555 current_dir 555 current_dir = ENCODE_FILE (current_dir);
556 = Fencode_coding_string (current_dir, Vfile_name_coding_system, Qt);
557 556
558 #ifdef MSDOS /* MW, July 1993 */ 557 #ifdef MSDOS /* MW, July 1993 */
559 /* ??? Someone who knows MSDOG needs to check whether this properly 558 /* ??? Someone who knows MSDOG needs to check whether this properly
560 closes all descriptors that it opens. 559 closes all descriptors that it opens.
561 560