Subject: bug#26397: [PATCH] Use vfork if possible on Darwin (bug#26397)

From: Andreas Schwab <[email-masked]>
Date: Sun, 09 Apr 2017 22:32:52 +0200

On Apr 09 2017, Alan Third <[email-masked]> wrote:

> src/conf_post.h: Remove defines forcing use of fork.

That should list the removed macros.

	* src/conf_post.h (HAVE_WORKING_VFORK): Don't undef.
	(vfork): Don't define.

> src/process.c (create_process): Use fork if pty_flag is set, otherwise
> vfork.

That should say that it is only used when DARWIN_OS is defined.

	* src/process.c (create_process) [DARWIN_OS]: Use fork if
	pty_flag is set, otherwise vfork.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."