diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-08 04:42:46 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-08 04:42:46 +0000 |
commit | f1efc08bb14af80efa44fe9a61e53654ddf48b61 (patch) | |
tree | 9cc2dd73b586e08de50d1313866b65a025fa2e0c /string.c | |
parent | b40d12a5f8f796a373093d69c0f5ed9a11440588 (diff) | |
download | ruby-f1efc08bb14af80efa44fe9a61e53654ddf48b61.tar.gz |
* missing/strchr.c (strrchr): fixed a bug for detecting NUL in a
string. [ruby-dev:26985]
* string.c (rb_str_times): should taint empty strings as well.
* object.c (Init_Object): make class_variable_{get,set} public.
[ruby-dev:26965]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -409,7 +409,6 @@ rb_str_times(str, times) long i, len; len = NUM2LONG(times); - if (len == 0) return rb_str_new5(str,0,0); if (len < 0) { rb_raise(rb_eArgError, "negative argument"); } |