Bug #12218 ยป undefined.patch
ruby-2.3.0/localeinit.c | ||
---|---|---|
}
|
||
int
|
||
rb_locale_charmap_index(VALUE klass)
|
||
rb_locale_charmap_index(void)
|
||
{
|
||
return (int)locale_charmap(enc_find_index);
|
||
}
|
ruby-2.3.0/thread_pthread.c | ||
---|---|---|
limit += size;
|
||
if (limit > end) {
|
||
size = limit - end;
|
||
limit = alloca(size);
|
||
limit = alloca(stack_check_margin+size);
|
||
limit[stack_check_margin+size-1] = 0;
|
||
}
|
||
}
|
||
else {
|
||
limit -= size;
|
||
if (buf > limit) {
|
||
limit = alloca(buf - limit);
|
||
limit = alloca(buf - limit + stack_check_margin);
|
||
limit[0] = 0; /* ensure alloca is called */
|
||
limit -= stack_check_margin;
|
||
}
|
||
}
|
||
}
|