diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-05 07:45:32 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-05 07:45:32 +0000 |
| commit | 7e7ffd5de013939034d43a94802307e48a88cbb1 (patch) | |
| tree | 087d802ac34ba666eb197b3023171b77d9f0829c /ext/stringio | |
| parent | a42bb3fc65c7fb6cfc6969ba3f24334b4eb98ec7 (diff) | |
| download | ruby-7e7ffd5de013939034d43a94802307e48a88cbb1.tar.gz ruby-7e7ffd5de013939034d43a94802307e48a88cbb1.tar.xz ruby-7e7ffd5de013939034d43a94802307e48a88cbb1.zip | |
* eval.c (top_include): include in the wrapped load is done for
the wrapper, not for a singleton class for wrapped main.
[ruby-dev:23305]
* bignum.c (rb_big_eq): use temporary double variable to save the
result (internal float register may be bigger than 64 bits, for
example, 80 bits on x86). [ruby-dev:23311]
* eval.c (block_pass): should generate unique identifier of the
pushing block. [ruby-talk:96363]
* ext/socket/socket.c (make_hostent): fix memory leak, based on
the patch from HORIKAWA Hisashi <vzw00011@nifty.ne.jp>.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/stringio')
| -rw-r--r-- | ext/stringio/stringio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index 46217c7bc..98d3c08ee 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -879,7 +879,7 @@ strio_read(argc, argv, self) } break; default: - rb_raise(rb_eArgError, "wrong number arguments (%d for 0)", argc); + rb_raise(rb_eArgError, "wrong number of arguments (%d for 0)", argc); } if (NIL_P(str)) { str = rb_str_substr(ptr->string, ptr->pos, len); |
