Mercurial > emacs
changeset 109363:9cfc1b90afea
Cleanups for src/callproc.c.
* src/callproc.c (child_setup): Remove subprocesses conditional.
Remove code dealing with SET_EMACS_PRIORITY, unused.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Mon, 12 Jul 2010 10:21:11 -0700 |
parents | 5b332381f0a9 |
children | 89a16701cde1 6d8c29fae125 |
files | src/ChangeLog src/callproc.c |
diffstat | 2 files changed, 4 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Mon Jul 12 10:04:38 2010 -0700 +++ b/src/ChangeLog Mon Jul 12 10:21:11 2010 -0700 @@ -1,5 +1,8 @@ 2010-07-12 Dan Nicolaescu <dann@ics.uci.edu> + * callproc.c (child_setup): Remove subprocesses conditional. + Remove code dealing with SET_EMACS_PRIORITY, unused. + * buffer.c (Fset_buffer_multibyte): Remove subprocesses conditional. * process.c (close_process_descs): Use DOS_NT instead of WINDOWSNT.
--- a/src/callproc.c Mon Jul 12 10:04:38 2010 -0700 +++ b/src/callproc.c Mon Jul 12 10:21:11 2010 -0700 @@ -1054,19 +1054,9 @@ int pid = getpid (); -#ifdef SET_EMACS_PRIORITY - { - extern EMACS_INT emacs_priority; - - if (emacs_priority < 0) - nice (- emacs_priority); - } -#endif - -#ifdef subprocesses /* Close Emacs's descriptors that this process should not have. */ close_process_descs (); -#endif + /* DOS_NT isn't in a vfork, so if we are in the middle of load-file, we will lose if we call close_load_descs here. */ #ifndef DOS_NT