mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c (rb_ary_uniq_bang): element size might change during
comparison. [ruby-dev:24298] * enum.c (enum_sort_by): do not use qsort directly. use rb_ary_sort_bang() instead. [ruby-dev:24291] * enum.c (enum_sort_by): pedantic type check added. [ruby-dev:24291] * hash.c (rb_hash_foreach_iter): check iter_lev after each iteration. [ruby-dev:24289] * array.c (rb_ary_and): element size might change during comparison. [ruby-dev:24290] * array.c (rb_ary_or): ditto. [ruby-dev:24292] * array.c (rb_ary_equal): wrong fix. [ruby-dev:24286] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
de5a85496a
commit
ba19ba779c
8 changed files with 124 additions and 61 deletions
4
util.h
4
util.h
|
@ -43,8 +43,8 @@ unsigned long scan_hex _((const char*, int, int*));
|
|||
void ruby_add_suffix();
|
||||
#endif
|
||||
|
||||
void ruby_qsort _((void*, const int, const int, int (*)()));
|
||||
#define qsort(b,n,s,c) ruby_qsort(b,n,s,c)
|
||||
void ruby_qsort _((void*, const int, const int, int (*)(), void*));
|
||||
#define qsort(b,n,s,c,d) ruby_qsort(b,n,s,c,d)
|
||||
|
||||
void ruby_setenv _((const char*, const char*));
|
||||
void ruby_unsetenv _((const char*));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue