Fix over fix: JMP_BUF gone away and we have SIGJMP_BUF now.
Excuse me.
This commit is contained in:
parent
cbb131570e
commit
290d3b5198
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.7 1996/12/14 05:55:27 vadim Exp $
|
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.8 1996/12/14 08:26:34 vadim Exp $
|
||||||
*
|
*
|
||||||
* NOTE
|
* NOTE
|
||||||
* XXX this code needs improvement--check for state violations and
|
* XXX this code needs improvement--check for state violations and
|
||||||
@ -183,7 +183,7 @@ ExcRaise(Exception *excP,
|
|||||||
|
|
||||||
ExcCurFrameP = efp->link;
|
ExcCurFrameP = efp->link;
|
||||||
|
|
||||||
#if defined (JMP_BUF)
|
#if !defined (SIGJMP_BUF)
|
||||||
longjmp(efp->context, 1);
|
longjmp(efp->context, 1);
|
||||||
#else
|
#else
|
||||||
siglongjmp(efp->context, 1);
|
siglongjmp(efp->context, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user