diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-08-30 01:46:35 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-08-30 01:46:35 +0000 |
commit | 4e98534bb61d55bf727abab827804413816e10f2 (patch) | |
tree | dacc4d80795e9129a941653c7c0d31f7ffb39897 /bin/csh/csh.h | |
parent | 28da9623e1de63ef51e014e75d1ec3eb77f7fc6c (diff) |
prevent core dumps when stderror() is called before reslab is initialized
Diffstat (limited to 'bin/csh/csh.h')
-rw-r--r-- | bin/csh/csh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/csh/csh.h b/bin/csh/csh.h index 28df6672c6f..eca754f2a10 100644 --- a/bin/csh/csh.h +++ b/bin/csh/csh.h @@ -1,4 +1,4 @@ -/* $OpenBSD: csh.h,v 1.5 1999/08/06 20:41:04 deraadt Exp $ */ +/* $OpenBSD: csh.h,v 1.6 2000/08/30 01:46:34 mickey Exp $ */ /* $NetBSD: csh.h,v 1.9 1995/03/21 09:02:40 cgd Exp $ */ /*- @@ -185,6 +185,7 @@ int OLDSTD; /* Old standard input (def for cmds) */ #include <setjmp.h> jmp_buf reslab; +int exitset; #define setexit() (setjmp(reslab)) #define reset() longjmp(reslab, 1) |