mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* pack.c (uv_to_utf8): change message to "out of range", since
negative values are not "too big". [ruby-dev21567] * marshal.c (w_object): should pass the value of "weak" to w_object(). [ruby-dev:21555] and [ruby-dev:21561] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
582b7e1ca9
commit
0b2e94b2ab
4 changed files with 20 additions and 3 deletions
2
pack.c
2
pack.c
|
@ -1857,7 +1857,7 @@ uv_to_utf8(buf, uv)
|
|||
buf[5] = (uv&0x3f)|0x80;
|
||||
return 6;
|
||||
}
|
||||
rb_raise(rb_eArgError, "uv_to_utf8(); too big value");
|
||||
rb_raise(rb_eArgError, "uv_to_utf8(); value out of range");
|
||||
}
|
||||
|
||||
static const long utf8_limits[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue