diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/callproc.c b/src/callproc.c index 6278b46022c..383a1d74774 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -334,7 +334,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") | |||
| 334 | } | 334 | } |
| 335 | #endif | 335 | #endif |
| 336 | 336 | ||
| 337 | static void | 337 | static Lisp_Object |
| 338 | delete_temp_file (name) | 338 | delete_temp_file (name) |
| 339 | Lisp_Object name; | 339 | Lisp_Object name; |
| 340 | { | 340 | { |
| @@ -572,7 +572,6 @@ egetenv (var) | |||
| 572 | init_callproc () | 572 | init_callproc () |
| 573 | { | 573 | { |
| 574 | register char * sh; | 574 | register char * sh; |
| 575 | register char **envp; | ||
| 576 | Lisp_Object tempdir; | 575 | Lisp_Object tempdir; |
| 577 | 576 | ||
| 578 | { | 577 | { |
| @@ -611,6 +610,11 @@ init_callproc () | |||
| 611 | sh = (char *) getenv ("SHELL"); | 610 | sh = (char *) getenv ("SHELL"); |
| 612 | Vshell_file_name = build_string (sh ? sh : "/bin/sh"); | 611 | Vshell_file_name = build_string (sh ? sh : "/bin/sh"); |
| 613 | #endif | 612 | #endif |
| 613 | } | ||
| 614 | |||
| 615 | set_process_environment () | ||
| 616 | { | ||
| 617 | register char **envp; | ||
| 614 | 618 | ||
| 615 | Vprocess_environment = Qnil; | 619 | Vprocess_environment = Qnil; |
| 616 | #ifndef CANNOT_DUMP | 620 | #ifndef CANNOT_DUMP |