[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#554: OSX: with-temp-buffer kills unrelated processes
From: |
YAMAMOTO Mitsuharu |
Subject: |
bug#554: OSX: with-temp-buffer kills unrelated processes |
Date: |
Thu, 17 Jul 2008 10:51:39 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.2.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Wed, 16 Jul 2008 17:27:47 +0200, Markus Triska <markus.triska@gmx.at>
>>>>> said:
> YAMAMOTO Mitsuharu <mituharu@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@math.s.chiba-u.ac.jp