aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-07-12 10:21:11 -0700
committerDan Nicolaescu2010-07-12 10:21:11 -0700
commitded80a25b7d4a088dd4c4a714666705749106138 (patch)
tree7b16e28bd2baf25daf161521d35c4262b8af209c /src
parent49d937f4491b1813963810923c6796badc681031 (diff)
downloademacs-ded80a25b7d4a088dd4c4a714666705749106138.tar.gz
emacs-ded80a25b7d4a088dd4c4a714666705749106138.zip
Cleanups for src/callproc.c.
* src/callproc.c (child_setup): Remove subprocesses conditional. Remove code dealing with SET_EMACS_PRIORITY, unused.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/callproc.c12
2 files changed, 4 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 82a50f48cc8..267ca18b699 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12010-07-12 Dan Nicolaescu <dann@ics.uci.edu> 12010-07-12 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * callproc.c (child_setup): Remove subprocesses conditional.
4 Remove code dealing with SET_EMACS_PRIORITY, unused.
5
3 * buffer.c (Fset_buffer_multibyte): Remove subprocesses conditional. 6 * buffer.c (Fset_buffer_multibyte): Remove subprocesses conditional.
4 * process.c (close_process_descs): Use DOS_NT instead of WINDOWSNT. 7 * process.c (close_process_descs): Use DOS_NT instead of WINDOWSNT.
5 8
diff --git a/src/callproc.c b/src/callproc.c
index 4ad6bcf41ea..fd2cf6356ec 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -1054,19 +1054,9 @@ child_setup (int in, int out, int err, register char **new_argv, int set_pgrp, L
1054 1054
1055 int pid = getpid (); 1055 int pid = getpid ();
1056 1056
1057#ifdef SET_EMACS_PRIORITY
1058 {
1059 extern EMACS_INT emacs_priority;
1060
1061 if (emacs_priority < 0)
1062 nice (- emacs_priority);
1063 }
1064#endif
1065
1066#ifdef subprocesses
1067 /* Close Emacs's descriptors that this process should not have. */ 1057 /* Close Emacs's descriptors that this process should not have. */
1068 close_process_descs (); 1058 close_process_descs ();
1069#endif 1059
1070 /* DOS_NT isn't in a vfork, so if we are in the middle of load-file, 1060 /* DOS_NT isn't in a vfork, so if we are in the middle of load-file,
1071 we will lose if we call close_load_descs here. */ 1061 we will lose if we call close_load_descs here. */
1072#ifndef DOS_NT 1062#ifndef DOS_NT