Commit 4f0b9d49 authored by Jim Blandy's avatar Jim Blandy
Browse files

* callproc.c (child_setup): Don't use setpriority; we just need a

	simple, portable call to nice here.
parent 41ab0754
......@@ -375,7 +375,11 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir)
register int pid = getpid();
setpriority (PRIO_PROCESS, pid, 0);
extern int emacs_priority;
nice (- emacs_priority);
#ifdef subprocesses
/* Close Emacs's descriptors that this process should not have. */
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