GNU bug report logs - #12446
port better to POSIX hosts lacking _setjmp

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Fri, 14 Sep 2012 19:47:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 12446 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: lekktu <at> gmail.com, 12446 <at> debbugs.gnu.org
Subject: Re: port better to POSIX hosts lacking _setjmp
Date: Sat, 15 Sep 2012 10:12:53 +0300
> Date: Fri, 14 Sep 2012 14:28:23 -0700
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> CC: 12446 <at> debbugs.gnu.org, lekktu <at> gmail.com
> 
> On 09/14/2012 01:30 PM, Eli Zaretskii wrote:
> > Why not simply switch to using
> > ANSI- and Posix-standard setjmp/longjmp?
> 
> Because longjmp might alter the signal mask,
> and it might not.  POSIX doesn't say either way,
> platforms differ in this respect, and the
> differences can mess things up and slow things down.

Can you elaborate?  On which platforms does longjmp change the signal
mask and how, and in what ways can this "mess things up and slow
things down"?




This bug report was last modified 12 years and 255 days ago.

Previous Next


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