GNU bug report logs - #554
OSX: with-temp-buffer kills unrelated processes

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Sun, 13 Jul 2008 17:50:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 554 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: Markus Triska <markus.triska <at> gmx.at>
Cc: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>,
        554 <at> debbugs.gnu.org
Subject: Re: bug#554: OSX: with-temp-buffer kills unrelated processes
Date: Thu, 17 Jul 2008 10:51:39 +0900
>>>>> On Wed, 16 Jul 2008 17:27:47 +0200, Markus Triska <markus.triska <at> gmx.at> said:

> YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> writes:
>> OK, close-on-exec seems to be usable for the `fork' case.  How
>> about the patch below?

> Thank you very much; I've tested the following adapted version of
> your patch with the latest CVS trunk of Emacs, and the problem seems
> gone.

Thanks for testing.

Although whether _exit closes file descriptors or not is
implementation-dependent, the current Emacs code seems to assume that
it always does (in its supported platforms).  If so, close before
_exit and the changes to callproc.c in my previous patch can be
removed.  I'll install a simplified one later.

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp




This bug report was last modified 16 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.