From 31959b52ef5e10ec94e692f976b91ea6e416db0e Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 3 Oct 2009 23:29:03 +0000 Subject: [PATCH] * enum.c (slicebefore_ii): use id_eqq. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ enum.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5b7d971994..b172a0bd46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Oct 4 08:27:10 2009 Tanaka Akira + + * enum.c (slicebefore_ii): use id_eqq. + Sun Oct 4 06:40:09 2009 Alexander Zavorine * symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the change in dln.c diff --git a/enum.c b/enum.c index 7f284481f6..fa2b5926e7 100644 --- a/enum.c +++ b/enum.c @@ -2133,7 +2133,7 @@ slicebefore_ii(VALUE i, VALUE _argp, int argc, VALUE *argv) ENUM_WANT_SVALUE(); if (!NIL_P(argp->sep_pat)) - header_p = rb_funcall(argp->sep_pat, rb_intern("==="), 1, i); + header_p = rb_funcall(argp->sep_pat, id_eqq, 1, i); else if (NIL_P(argp->state)) header_p = rb_funcall(argp->sep_pred, rb_intern("call"), 1, i); else