ruby-changes:21576
From: naruse <ko1@a...>
Date: Fri, 4 Nov 2011 00:54:29 +0900 (JST)
Subject: [ruby-changes:21576] naruse:r33625 (trunk): * ext/readline/readline.c (Init_readline): fix wrong condition.
naruse 2011-11-04 00:54:19 +0900 (Fri, 04 Nov 2011) New Revision: 33625 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33625 Log: * ext/readline/readline.c (Init_readline): fix wrong condition. Modified files: trunk/ChangeLog trunk/ext/readline/readline.c Index: ChangeLog =================================================================== --- ChangeLog (revision 33624) +++ ChangeLog (revision 33625) @@ -1,3 +1,7 @@ +Fri Nov 4 00:53:35 2011 NARUSE, Yui <naruse@r...> + + * ext/readline/readline.c (Init_readline): fix wrong condition. + Thu Nov 3 23:53:04 2011 NAKAMURA Usaku <usa@r...> * encoding.c (rb_locale_charmap): ignore calling nl_langinfo_codeset() Index: ext/readline/readline.c =================================================================== --- ext/readline/readline.c (revision 33624) +++ ext/readline/readline.c (revision 33625) @@ -1613,7 +1613,7 @@ if (history_get(history_get_offset_func(0)) == NULL) { history_get_offset_func = history_get_offset_0; } -#if !defined HAVE_CLEAR_HISTORY +#if defined HAVE_CLEAR_HISTORY clear_history(); #else { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/