ruby-changes:4830
From: ko1@a...
Date: Thu, 8 May 2008 10:46:27 +0900 (JST)
Subject: [ruby-changes:4830] matz - Ruby:r16324 (trunk): array.c: typo fixed; sorry!
matz 2008-05-08 10:46:07 +0900 (Thu, 08 May 2008) New Revision: 16324 Modified files: trunk/array.c Log: array.c: typo fixed; sorry! http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/array.c?r1=16324&r2=16323&diff_format=u Index: array.c =================================================================== --- array.c (revision 16323) +++ array.c (revision 16324) @@ -1454,20 +1454,20 @@ static int sort_1(const void *ap, const void *bp, void *dummy) { - VALUE retval = check_reentered(dummy); + VALUE retval = sort_reentered(dummy); VALUE a = *(const VALUE *)ap, b = *(const VALUE *)bp; int n; retval = rb_yield_values(2, a, b); n = rb_cmpint(retval, a, b); - check_reentered(dummy); + sort_reentered(dummy); return n; } static int sort_2(const void *ap, const void *bp, void *dummy) { - VALUE retval = check_reentered(dummy); + VALUE retval = sort_reentered(dummy); VALUE a = *(const VALUE *)ap, b = *(const VALUE *)bp; int n; @@ -1482,7 +1482,7 @@ retval = rb_funcall(a, id_cmp, 1, b); n = rb_cmpint(retval, a, b); - check_reentered(dummy); + sort_reentered(dummy); return n; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/