diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2012-09-10 01:25:31 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2012-09-10 01:25:31 +0000 |
commit | eb744d9d40f02414d35437f9ef397b127027955b (patch) | |
tree | 4209cb2a75d870442934e487ebc85648da2e4d74 /bin/ksh/sh.h | |
parent | 9768434a12db19b3733b0e34f316aa790d5adaf7 (diff) |
fake a sigwinch after each job, so if the terminal changes size,
we'll notice and update
Diffstat (limited to 'bin/ksh/sh.h')
-rw-r--r-- | bin/ksh/sh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h index e4e8807471e..17462049618 100644 --- a/bin/ksh/sh.h +++ b/bin/ksh/sh.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sh.h,v 1.30 2010/01/04 18:07:11 deraadt Exp $ */ +/* $OpenBSD: sh.h,v 1.31 2012/09/10 01:25:30 tedu Exp $ */ /* * Public Domain Bourne/Korn shell @@ -287,6 +287,7 @@ typedef struct trap { EXTERN volatile sig_atomic_t trap; /* traps pending? */ EXTERN volatile sig_atomic_t intrsig; /* pending trap interrupts command */ EXTERN volatile sig_atomic_t fatal_trap;/* received a fatal signal */ +extern volatile sig_atomic_t got_sigwinch; extern Trap sigtraps[NSIG+1]; /* |