summaryrefslogtreecommitdiffstats
path: root/pack.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-09 06:46:40 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-09 06:46:40 +0000
commit90ae69e93c78abebf13c9bb690e5cabf8cb3b017 (patch)
tree2a296d207cdaca296149bddcea43daf0639d10d8 /pack.c
parent661f464d77677b39da0dd9167a1a3544b987aacc (diff)
downloadruby-90ae69e93c78abebf13c9bb690e5cabf8cb3b017.tar.gz
ruby-90ae69e93c78abebf13c9bb690e5cabf8cb3b017.tar.xz
ruby-90ae69e93c78abebf13c9bb690e5cabf8cb3b017.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@4729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index 6df527605..fd5245a61 100644
--- a/pack.c
+++ b/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[] = {