mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
1.1b9_05 patches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7253910df8
commit
d6e2d211af
5 changed files with 19 additions and 12 deletions
2
string.c
2
string.c
|
@ -1824,7 +1824,7 @@ str_tr(str, src, repl)
|
|||
VALUE val = tr_trans(str_dup(str), src, repl, 0);
|
||||
|
||||
if (NIL_P(val)) return str;
|
||||
return Qnil;
|
||||
return val;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue