[macruby-changes] [3774] MacRuby/trunk/enumerator.c
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 16 15:41:11 PDT 2010
Revision: 3774
http://trac.macosforge.org/projects/ruby/changeset/3774
Author: martinlagardette at apple.com
Date: 2010-03-16 15:41:08 -0700 (Tue, 16 Mar 2010)
Log Message:
-----------
Make sure #to_enum verify param is a symbol
- Fixes 7686649
Modified Paths:
--------------
MacRuby/trunk/enumerator.c
Modified: MacRuby/trunk/enumerator.c
===================================================================
--- MacRuby/trunk/enumerator.c 2010-03-16 22:04:35 UTC (rev 3773)
+++ MacRuby/trunk/enumerator.c 2010-03-16 22:41:08 UTC (rev 3774)
@@ -83,7 +83,7 @@
meth = *argv++;
}
- ID meth_id = SYM2ID(meth);
+ ID meth_id = rb_to_id(meth);
SEL enum_sel;
if (argc > 0) {
char buf[100];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100316/29b71df7/attachment.html>
More information about the macruby-changes
mailing list