# HG changeset patch # User Dan Nicolaescu # Date 1278955271 25200 # Node ID 9cfc1b90afea5875ede20c6fe21be4585efeeb80 # Parent 5b332381f0a9dbd5a24bfb4a997b73f36249c068 Cleanups for src/callproc.c. * src/callproc.c (child_setup): Remove subprocesses conditional. Remove code dealing with SET_EMACS_PRIORITY, unused. diff -r 5b332381f0a9 -r 9cfc1b90afea src/ChangeLog --- 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 + * 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. diff -r 5b332381f0a9 -r 9cfc1b90afea src/callproc.c --- 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