readline only handles SIGWINCH
authorAndy Wingo <wingo@pobox.com>
Fri, 9 Jul 2010 14:48:30 +0000 (16:48 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 9 Jul 2010 15:05:25 +0000 (17:05 +0200)
commitddfb5e2bb02e167c734af5091d40d7db4ffeffa1
tree33ed9c9d6bd735935cd50c62e8765adb1dba964e
parentadb825b6780b52a19291420c8699900d56de748d
readline only handles SIGWINCH

* acinclude.m4 (GUILE_READLINE): Check for rl_catch_signals and
  rl_catch_sigwinch.

* guile-readline/readline.c (scm_init_readline): If we can, turn off
  readline's signal handling, because we can do our own.
  (scm_readline): Use dynwinds to handle resetting readline's state on
  nonlocal exit, not catches.
  (unwind_readline): Rename from handle_error.
acinclude.m4
guile-readline/readline.c