Skip to content

Instantly share code, notes, and snippets.

@DmitriyLyalyuev
Last active August 29, 2015 14:06
Show Gist options
  • Save DmitriyLyalyuev/9c1cb5267f50e4bd5386 to your computer and use it in GitHub Desktop.
Save DmitriyLyalyuev/9c1cb5267f50e4bd5386 to your computer and use it in GitHub Desktop.
ruby 2.0.0-p353 patch
--- ext/readline/readline.c 2014-09-10 12:39:40.957422393 +0200
+++ ext/readline/readline.c 2014-09-10 12:20:21.000000000 +0200
@@ -1883,7 +1883,7 @@
rl_attempted_completion_function = readline_attempted_completion_function;
#if defined(HAVE_RL_PRE_INPUT_HOOK)
- rl_pre_input_hook = (Function *)readline_pre_input_hook;
+ rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook;
#endif
#ifdef HAVE_RL_CATCH_SIGNALS
rl_catch_signals = 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment