Commit ded80a25 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

Cleanups for src/callproc.c.

* src/callproc.c (child_setup): Remove subprocesses conditional.
Remove code dealing with SET_EMACS_PRIORITY, unused.
parent 49d937f4
2010-07-12 Dan Nicolaescu <dann@ics.uci.edu> 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. * buffer.c (Fset_buffer_multibyte): Remove subprocesses conditional.
* process.c (close_process_descs): Use DOS_NT instead of WINDOWSNT. * process.c (close_process_descs): Use DOS_NT instead of WINDOWSNT.
   
......
...@@ -1054,19 +1054,9 @@ child_setup (int in, int out, int err, register char **new_argv, int set_pgrp, L ...@@ -1054,19 +1054,9 @@ child_setup (int in, int out, int err, register char **new_argv, int set_pgrp, L
int pid = getpid (); 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 Emacs's descriptors that this process should not have. */
close_process_descs (); close_process_descs ();
#endif
/* DOS_NT isn't in a vfork, so if we are in the middle of load-file, /* 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. */ we will lose if we call close_load_descs here. */
#ifndef DOS_NT #ifndef DOS_NT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment