bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIGINT handling


From: Stephane Chazelas
Subject: Re: SIGINT handling
Date: Tue, 22 Sep 2015 16:28:16 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

2015-09-22 15:18:32 +0100, Stephane Chazelas:
> 2015-09-22 09:41:35 -0400, Chet Ramey:
> [...]
> > > AFAICT emacs starts a new process group (and makes it the
> > > foreground process group).
> > 
> > Maybe, if it's being run from an interactive shell or in a separate
> > X window.  On the other hand, run this script with `dash':
> [...]
> 
> It does that unconditionaly (since 94 at least), but that's
> under a #ifdef BSD_PGRPS in the emacs source. Strangely enough,
> that BSD_PGRPS is not defined anymore for freebsd or netbsd
> though it is for gnu-linux
[...]

To add on that, the code was removed at some point altogether
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=58eb6cf0f77547d29f4fddca922eb6f98c0ffb28
in emacs-24.0.96 and then added back without the #ifdef
BSD_PGRPS
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=322aea6ddf7ec7fd71410d98ec1de69f219aff3e
in emacs-24.2.90

So versions 24.0.96 to 24.2 must have been broken under
gnu-linux as well, and newer versions (24.2.90 and above) should
be OK including on FreeBSD|OS/X (so no need to report it as a
bug to the emacs maintainers).

-- 
Stephane



reply via email to

[Prev in Thread] Current Thread [Next in Thread]