* signals.c (_rl_block_sigwinch, _rl_release_sigwinch): Add
authorPierre Muller <muller@sourceware.org>
Fri, 24 Feb 2012 17:14:43 +0000 (17:14 +0000)
committerPierre Muller <muller@sourceware.org>
Fri, 24 Feb 2012 17:14:43 +0000 (17:14 +0000)
conditional SIGWINCH around functions.

readline/ChangeLog.gdb
readline/signals.c

index afc1e4964e0cb30c3118fa024365a0970a5e03e3..276b1c87620f8a28e432824f43ff0ec3c8694172 100644 (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.
index 6a68d78c90b7587b2169b93619b48f2524057e46..f1196918539020d0f68631df9c0ebfd347afbc10 100644 (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 */
 
 /* **************************************************************** */
 /*                                                                 */