diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-07 04:06:41 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-07 04:06:41 +0000 |
| commit | 1294ea9a9b2a07451f0474bb3b7a20d9210286da (patch) | |
| tree | ca172c881a3179e97f34e2fe04720af1e82ddbd1 /array.c | |
| parent | e2557be11bb81855fde054d550c727fef85eb872 (diff) | |
| download | ruby-1294ea9a9b2a07451f0474bb3b7a20d9210286da.tar.gz ruby-1294ea9a9b2a07451f0474bb3b7a20d9210286da.tar.xz ruby-1294ea9a9b2a07451f0474bb3b7a20d9210286da.zip | |
* pack.c (pack_unpack): string conversion should at the top of the
method. [ruby-dev:24439]
* io.c (io_read): buffer should be frozen only after the length
check. [ruby-dev:24440]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
| -rw-r--r-- | array.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1572,6 +1572,7 @@ sort_1(a, b, data) int n; n = rb_cmpint(retval, *a, *b); + ary_sort_check(data); return n; } @@ -1595,6 +1596,7 @@ sort_2(ap, bp, data) retval = rb_funcall(a, id_cmp, 1, b); n = rb_cmpint(retval, a, b); + ary_sort_check(data); return n; } |
