File tree 7 files changed +4
-24
lines changed
7 files changed +4
-24
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.31 2000/10/03 03:11:22 momjian Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.32 2000/10/28 23:53:00 petere Exp $
12
12
*
13
13
* NOTE
14
14
* XXX this code needs improvement--check for state violations and
@@ -203,10 +203,6 @@ ExcRaise(Exception *excP,
203
203
204
204
ExcCurFrameP = efp -> link ;
205
205
206
- #if defined (JMP_BUF )
207
- longjmp (efp -> context , 1 );
208
- #else
209
206
siglongjmp (efp -> context , 1 );
210
- #endif
211
207
}
212
208
}
Original file line number Diff line number Diff line change 1
- #define JMP_BUF
2
1
#define USE_POSIX_TIME
3
2
#define HAS_TEST_AND_SET
4
3
typedef struct
Original file line number Diff line number Diff line change 4
4
__USE_BSD is set by bsd/signal.h, and __USE_BSD_SIGNAL appears not to
5
5
be used.
6
6
*/
7
- #define JMP_BUF
8
7
#define USE_POSIX_TIME
9
8
10
9
#if defined(__i386__ )
Original file line number Diff line number Diff line change @@ -12,9 +12,7 @@ typedef int sigset_t;
12
12
#define SIG_BLOCK 00
13
13
#define SIG_UNBLOCK 01
14
14
#define SIG_SETMASK 02
15
- #define NEED_SIG_JMP
16
15
#endif
17
16
18
- #define JMP_BUF
19
17
#define NO_WAITPID
20
18
typedef struct mutex slock_t ;
Original file line number Diff line number Diff line change 1
- #define JMP_BUF
2
1
#define HAS_TEST_AND_SET
3
2
typedef unsigned char slock_t ;
4
3
Original file line number Diff line number Diff line change 1
- #define JMP_BUF
2
- #define NEED_SIG_JMP
3
1
#define USES_WINSOCK
4
2
#define NOFILE 100
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
10
- * $Id: exc.h,v 1.16 2000/01/26 05:58:38 momjian Exp $
10
+ * $Id: exc.h,v 1.17 2000/10/28 23:53:01 petere Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
14
14
#ifndef EXC_H
15
15
#define EXC_H
16
16
17
- #include <setjmp.h>
18
-
19
17
#include "config.h"
20
18
19
+ #include <setjmp.h>
20
+
21
21
extern char * ExcFileName ;
22
22
extern Index ExcLineNumber ;
23
23
24
- /*
25
- * ExcMessage and Exception are now defined in c.h
26
- */
27
- #if defined(JMP_BUF )
28
- typedef jmp_buf ExcContext ;
29
-
30
- #else
31
24
typedef sigjmp_buf ExcContext ;
32
25
33
- #endif
34
-
35
26
typedef Exception * ExcId ;
36
27
typedef long ExcDetail ;
37
28
typedef char * ExcData ;
You can’t perform that action at this time.
0 commit comments