[前][次][番号順一覧][スレッド一覧]

ruby-changes:22207

From: kazu <ko1@a...>
Date: Tue, 10 Jan 2012 12:15:05 +0900 (JST)
Subject: [ruby-changes:22207] kazu:r34256 (trunk): * ext/readline/readline.c (readline_attempted_completion_function): fix compile error.

kazu	2012-01-10 12:14:52 +0900 (Tue, 10 Jan 2012)

  New Revision: 34256

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

  Log:
    * ext/readline/readline.c (readline_attempted_completion_function): fix compile error.

  Modified files:
    trunk/ChangeLog
    trunk/ext/readline/readline.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34255)
+++ ChangeLog	(revision 34256)
@@ -1,3 +1,8 @@
+Tue Jan 10 12:13:56 2012  Kazuhiro NISHIYAMA  <zn@m...>
+
+	* ext/readline/readline.c (readline_attempted_completion_function):
+	  fix compile error.
+
 Tue Jan 10 10:41:11 2012  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/readline/readline.c (readline_attempted_completion_function):
Index: ext/readline/readline.c
===================================================================
--- ext/readline/readline.c	(revision 34255)
+++ ext/readline/readline.c	(revision 34256)
@@ -667,7 +667,7 @@
 #endif
     case_fold = RTEST(rb_attr_get(mReadline, completion_case_fold));
     ary = rb_funcall(proc, rb_intern("call"), 1, rb_locale_str_new_cstr(text));
-    if (!RB_TYPE_P(ary, T_ARRAY)) {
+    if (!RB_TYPE_P(ary, T_ARRAY))
 	ary = rb_Array(ary);
     matches = RARRAY_LEN(ary);
     if (matches == 0) return NULL;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]