emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r100795: Cleanups for src/callproc.c.


From: Dan Nicolaescu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r100795: Cleanups for src/callproc.c.
Date: Mon, 12 Jul 2010 10:21:11 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100795
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Mon 2010-07-12 10:21:11 -0700
message:
  Cleanups for src/callproc.c.
  * src/callproc.c (child_setup): Remove subprocesses conditional.
  Remove code dealing with SET_EMACS_PRIORITY, unused.
modified:
  src/ChangeLog
  src/callproc.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-07-12 17:04:38 +0000
+++ b/src/ChangeLog     2010-07-12 17:21:11 +0000
@@ -1,5 +1,8 @@
 2010-07-12  Dan Nicolaescu  <address@hidden>
 
+       * 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.
 

=== modified file 'src/callproc.c'
--- a/src/callproc.c    2010-07-11 09:49:44 +0000
+++ b/src/callproc.c    2010-07-12 17:21:11 +0000
@@ -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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]