diff options
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1006,7 +1006,7 @@ rb_str_resurrect(VALUE str) RUBY_DTRACE_STRING_CREATE(RSTRING_LEN(str), rb_sourcefile(), rb_sourceline()); } - return str_replace(str_alloc(rb_cString), str); + return str_duplicate(rb_cString, str); } /* |