protect more variables against gcc longjmp() clobbering
This commit is contained in:
parent
f50e8d7409
commit
70875d29b0
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: collect.c,v 1.8 1997/07/07 22:57:52 phil Exp $ */
|
/* $NetBSD: collect.c,v 1.9 1997/07/09 05:25:45 mikel Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1980, 1993
|
* Copyright (c) 1980, 1993
|
||||||
@ -37,7 +37,7 @@
|
|||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)collect.c 8.2 (Berkeley) 4/19/94";
|
static char sccsid[] = "@(#)collect.c 8.2 (Berkeley) 4/19/94";
|
||||||
#else
|
#else
|
||||||
static char rcsid[] = "$NetBSD: collect.c,v 1.8 1997/07/07 22:57:52 phil Exp $";
|
static char rcsid[] = "$NetBSD: collect.c,v 1.9 1997/07/09 05:25:45 mikel Exp $";
|
||||||
#endif
|
#endif
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
@ -93,6 +93,7 @@ collect(hp, printheaders)
|
|||||||
(void) &escape;
|
(void) &escape;
|
||||||
(void) &eofcount;
|
(void) &eofcount;
|
||||||
(void) &getsub;
|
(void) &getsub;
|
||||||
|
(void) &longline;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
collf = NULL;
|
collf = NULL;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: tty.c,v 1.6 1996/12/28 07:11:08 tls Exp $ */
|
/* $NetBSD: tty.c,v 1.7 1997/07/09 05:25:46 mikel Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1980, 1993
|
* Copyright (c) 1980, 1993
|
||||||
@ -37,7 +37,7 @@
|
|||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)tty.c 8.2 (Berkeley) 6/6/93";
|
static char sccsid[] = "@(#)tty.c 8.2 (Berkeley) 6/6/93";
|
||||||
#else
|
#else
|
||||||
static char rcsid[] = "$NetBSD: tty.c,v 1.6 1996/12/28 07:11:08 tls Exp $";
|
static char rcsid[] = "$NetBSD: tty.c,v 1.7 1997/07/09 05:25:46 mikel Exp $";
|
||||||
#endif
|
#endif
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
@ -81,6 +81,9 @@ grabh(hp, gflags)
|
|||||||
int errs;
|
int errs;
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
/* Avoid longjmp clobbering */
|
/* Avoid longjmp clobbering */
|
||||||
|
#ifdef TIOCSTI
|
||||||
|
(void) &extproc;
|
||||||
|
#endif
|
||||||
(void) &saveint;
|
(void) &saveint;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user