From 5abd77d9259a25983eebb3c92c204de806ad19fa Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 8 May 2008 01:46:07 +0000 Subject: [PATCH] array.c: typo fixed; sorry! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/array.c b/array.c index 7219079efe..9df29447f1 100644 --- a/array.c +++ b/array.c @@ -1454,20 +1454,20 @@ sort_reentered(VALUE *klass) 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 @@ sort_2(const void *ap, const void *bp, void *dummy) retval = rb_funcall(a, id_cmp, 1, b); n = rb_cmpint(retval, a, b); - check_reentered(dummy); + sort_reentered(dummy); return n; }