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 #11 received at 12446 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: lekktu <at> gmail.com, 12446 <at> debbugs.gnu.org
Subject: Re: port better to POSIX hosts lacking _setjmp
Date: Fri, 14 Sep 2012 14:28:23 -0700
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.
This is why Emacs uses _longjmp now, on GNU and
POSIXish platforms.




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.