diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-02-27 08:04:32 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-02-27 08:04:32 +0000 |
commit | ac17da0f60d9bd0168128a2af6729ee210c36687 (patch) | |
tree | da88b4389e0df8385407695139d7a4d228381cec /string.c | |
parent | 59bd3fda628636815964d9d39f45b941c1a56ade (diff) | |
download | ruby-ac17da0f60d9bd0168128a2af6729ee210c36687.tar.gz ruby-ac17da0f60d9bd0168128a2af6729ee210c36687.tar.xz ruby-ac17da0f60d9bd0168128a2af6729ee210c36687.zip |
* string.c (str_new): need no MEMZERO().
* numeric.c (fix_gt): use rb_num_coerce_cmp() instead of
rb_num_coerce_bin.
* numeric.c (fix_ge, fix_lt, fix_le): ditto.
* numeric.c (flo_gt, flo_ge, flo_lt, flo_le): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -70,9 +70,6 @@ str_new(klass, ptr, len) if (ptr) { memcpy(RSTRING(str)->ptr, ptr, len); } - else { - MEMZERO(RSTRING(str)->ptr, char, len); - } RSTRING(str)->ptr[len] = '\0'; return str; } |