From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Markus Triska <markus.triska@gmx.at>
Cc: 554@emacsbugs.donarmstrong.com
Subject: bug#554: OSX: with-temp-buffer kills unrelated processes
Date: Thu, 17 Jul 2008 10:51:39 +0900 [thread overview]
Message-ID: <wltzepcm6s.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <m13am9etn0.fsf@pnsgw1-client181.demo.tuwien.ac.at>
>>>>> 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
prev parent reply other threads:[~2008-07-17 1:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-13 17:39 bug#554: OSX: with-temp-buffer kills unrelated processes Markus Triska
2008-07-14 10:26 ` YAMAMOTO Mitsuharu
2008-07-16 9:17 ` YAMAMOTO Mitsuharu
2008-07-16 15:27 ` Markus Triska
2008-07-17 1:51 ` YAMAMOTO Mitsuharu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wltzepcm6s.wl%mituharu@math.s.chiba-u.ac.jp \
--to=mituharu@math.s.chiba-u.ac.jp \
--cc=554@emacsbugs.donarmstrong.com \
--cc=markus.triska@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).