diff options
| author | Kenichi Handa | 1998-03-03 07:18:46 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-03-03 07:18:46 +0000 |
| commit | 14dc6093870e0d04dca24a84d5c337b506981e08 (patch) | |
| tree | eaa30a627537913fbcfc95d21ca6c2c1b5eac116 /src | |
| parent | cd913586adcd4e89bb982f9a49bdb7080914f05a (diff) | |
| download | emacs-14dc6093870e0d04dca24a84d5c337b506981e08.tar.gz emacs-14dc6093870e0d04dca24a84d5c337b506981e08.zip | |
(Vdefault_file_name_coding_system): Extern it.
(create_process): Use ENCODE_FILE.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index 59bb8e3757d..65132d3fdb9 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -266,7 +266,7 @@ extern int timers_run; | |||
| 266 | /* Maximum number of bytes to send to a pty without an eof. */ | 266 | /* Maximum number of bytes to send to a pty without an eof. */ |
| 267 | static int pty_max_bytes; | 267 | static int pty_max_bytes; |
| 268 | 268 | ||
| 269 | extern Lisp_Object Vfile_name_coding_system; | 269 | extern Lisp_Object Vfile_name_coding_system, Vdefault_file_name_coding_system; |
| 270 | 270 | ||
| 271 | #ifdef HAVE_PTYS | 271 | #ifdef HAVE_PTYS |
| 272 | /* The file name of the pty opened by allocate_pty. */ | 272 | /* The file name of the pty opened by allocate_pty. */ |
| @@ -1487,8 +1487,7 @@ create_process (process, new_argv, current_dir) | |||
| 1487 | Protect it from permanent change. */ | 1487 | Protect it from permanent change. */ |
| 1488 | char **save_environ = environ; | 1488 | char **save_environ = environ; |
| 1489 | 1489 | ||
| 1490 | current_dir | 1490 | current_dir = ENCODE_FILE (current_dir); |
| 1491 | = Fencode_coding_string (current_dir, Vfile_name_coding_system, Qt); | ||
| 1492 | 1491 | ||
| 1493 | #ifndef WINDOWSNT | 1492 | #ifndef WINDOWSNT |
| 1494 | pid = vfork (); | 1493 | pid = vfork (); |