From: Pierre Muller Date: Fri, 24 Feb 2012 17:14:43 +0000 (+0000) Subject: * signals.c (_rl_block_sigwinch, _rl_release_sigwinch): Add X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2387786c5a39c97f7884ba04c26cf0a909df65da;p=binutils-gdb.git * signals.c (_rl_block_sigwinch, _rl_release_sigwinch): Add conditional SIGWINCH around functions. --- diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb index afc1e4964e0..276b1c87620 100644 --- a/readline/ChangeLog.gdb +++ b/readline/ChangeLog.gdb @@ -1,3 +1,8 @@ +2012-02-24 Pierre Muller + + * signals.c (_rl_block_sigwinch, _rl_release_sigwinch): Add + conditional SIGWINCH around functions. + 2011-05-11 Sterling Augustine * complete.c (rl_completion_matches): Undo inadvertant checkin. diff --git a/readline/signals.c b/readline/signals.c index 6a68d78c90b..f1196918539 100644 --- a/readline/signals.c +++ b/readline/signals.c @@ -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 */ /* **************************************************************** */ /* */