mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-23 17:31:43 +01:00
Got two volatile sig_atomic_t and int mixed up. Spotted by Gary Palmer.
This commit is contained in:
parent
07fe032454
commit
a1c7435ae3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38530
@ -39,7 +39,7 @@
|
|||||||
static char sccsid[] = "@(#)error.c 8.2 (Berkeley) 5/4/95";
|
static char sccsid[] = "@(#)error.c 8.2 (Berkeley) 5/4/95";
|
||||||
#endif
|
#endif
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id: error.c,v 1.10 1998/05/18 06:43:32 charnier Exp $";
|
"$Id: error.c,v 1.11 1998/08/24 10:20:36 cracauer Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -64,7 +64,7 @@ static const char rcsid[] =
|
|||||||
|
|
||||||
struct jmploc *handler;
|
struct jmploc *handler;
|
||||||
volatile sig_atomic_t exception;
|
volatile sig_atomic_t exception;
|
||||||
int suppressint;
|
volatile sig_atomic_t suppressint;
|
||||||
volatile sig_atomic_t intpending;
|
volatile sig_atomic_t intpending;
|
||||||
char *commandname;
|
char *commandname;
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)error.h 8.2 (Berkeley) 5/4/95
|
* @(#)error.h 8.2 (Berkeley) 5/4/95
|
||||||
* $Id: error.h,v 1.7 1997/02/22 13:58:23 peter Exp $
|
* $Id: error.h,v 1.8 1998/08/24 10:20:36 cracauer Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -64,7 +64,7 @@ struct jmploc {
|
|||||||
};
|
};
|
||||||
|
|
||||||
extern struct jmploc *handler;
|
extern struct jmploc *handler;
|
||||||
extern int exception;
|
extern volatile sig_atomic_t exception;
|
||||||
|
|
||||||
/* exceptions */
|
/* exceptions */
|
||||||
#define EXINT 0 /* SIGINT received */
|
#define EXINT 0 /* SIGINT received */
|
||||||
|
Loading…
Reference in New Issue
Block a user