ruby-changes:2916
From: ko1@a...
Date: 21 Dec 2007 15:18:39 +0900
Subject: [ruby-changes:2916] matz - Ruby:r14407 (trunk): * enumerator.c (enumerator_init_copy): typo fixed.
matz 2007-12-21 15:18:25 +0900 (Fri, 21 Dec 2007) New Revision: 14407 Modified files: trunk/ChangeLog trunk/enumerator.c Log: * enumerator.c (enumerator_init_copy): typo fixed. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14407&r2=14406 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/enumerator.c?r1=14407&r2=14406 Index: ChangeLog =================================================================== --- ChangeLog (revision 14406) +++ ChangeLog (revision 14407) @@ -12,6 +12,8 @@ * enumerator.c (enumerator_init_copy): prohibit cloning of generators since Fibers cannot be copied. + * enumerator.c (enumerator_init_copy): typo fixed. + Fri Dec 21 14:46:07 2007 Tanaka Akira <akr@f...> * io.c (Init_IO): define IO::BINARY even if O_BINARY is not exist. Index: enumerator.c =================================================================== --- enumerator.c (revision 14406) +++ enumerator.c (revision 14407) @@ -288,7 +288,7 @@ struct enumerator *ptr0, *ptr1; ptr0 = enumerator_ptr(orig); - if (ptr1->fib) { + if (ptr0->fib) { /* Fibers cannot be copied */ rb_raise(rb_eTypeError, "can't copy execution context"); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml