* signals.c (_rl_block_sigwinch, _rl_release_sigwinch): Add

conditional SIGWINCH around functions.
This commit is contained in:
Pierre Muller 2012-02-24 17:14:43 +00:00
parent e36930bb63
commit 2387786c5a
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-02-24 Pierre Muller <muller@ics.u-strasbg.fr>
* signals.c (_rl_block_sigwinch, _rl_release_sigwinch): Add
conditional SIGWINCH around functions.
2011-05-11 Sterling Augustine <saugustine@google.com>
* complete.c (rl_completion_matches): Undo inadvertant checkin.

View File

@ -580,6 +580,7 @@ _rl_release_sigint ()
sigint_blocked = 0;
}
#ifdef SIGWINCH
/* Cause SIGWINCH to not be delivered until the corresponding call to
release_sigwinch(). */
void
@ -627,6 +628,7 @@ _rl_release_sigwinch ()
sigwinch_blocked = 0;
}
#endif /* SIGWINCH */
/* **************************************************************** */
/* */