Cleanups for src/callproc.c.
authorDan Nicolaescu <dann@ics.uci.edu>
Mon, 12 Jul 2010 17:21:11 +0000 (10:21 -0700)
committerDan Nicolaescu <dann@ics.uci.edu>
Mon, 12 Jul 2010 17:21:11 +0000 (10:21 -0700)
* src/callproc.c (child_setup): Remove subprocesses conditional.
Remove code dealing with SET_EMACS_PRIORITY, unused.

src/ChangeLog
src/callproc.c

index 82a50f4..267ca18 100644 (file)
@@ -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.
 
index 4ad6bcf..fd2cf63 100644 (file)
@@ -1054,19 +1054,9 @@ child_setup (int in, int out, int err, register char **new_argv, int set_pgrp, L
 
   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