[ruby-cvs:56394] nobu:r49244 (trunk): readline.c: initialize before rl_refresh_line

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jan 14 15:43:52 JST 2015


nobu	2015-01-14 15:43:50 +0900 (Wed, 14 Jan 2015)

  New Revision: 49244

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49244

  Log:
    readline.c: initialize before rl_refresh_line
    
    * ext/readline/readline.c (readline_s_refresh_line): initialize
      before rl_refresh_line(), as some function make the internal
      state non-clean but rl_refresh_line() does not re-initialize it.
      [ruby-core:43957] [Bug #6232]

  Modified files:
    trunk/ChangeLog
    trunk/ext/readline/readline.c
    trunk/test/readline/test_readline.rb


More information about the ruby-cvs mailing list