diff src/callproc.c @ 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 b7a866c9460c
children 4e99d7aa7526
line wrap: on
line diff
--- 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