diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-08-04 11:05:29 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-08-04 11:05:29 +0000 |
| commit | d8af1fd8ae3e575d1d439090452fff98e7bac34f (patch) | |
| tree | 09c9f2489370d483796fea56d5060e1779f888e5 | |
| parent | bd13cecc22d8080b2d087ba85569d022cfafd7a3 (diff) | |
Notes
| -rw-r--r-- | lib/libncurses/lib_tstp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libncurses/lib_tstp.c b/lib/libncurses/lib_tstp.c index 272c274dbc94..4412dcb6d915 100644 --- a/lib/libncurses/lib_tstp.c +++ b/lib/libncurses/lib_tstp.c @@ -33,6 +33,9 @@ sigset_t mask; act.sa_handler = SIG_DFL; sigemptyset(&act.sa_mask); act.sa_flags = 0; +#ifdef SA_RESTART + act.sa_flags |= SA_RESTART; +#endif sigaction(SIGTSTP, &act, &oact); kill(getpid(), SIGTSTP); |
