diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | string.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Jul 11 17:28:08 2006 NAKAMURA Usaku <usa@ruby-lang.org> + + * string.c (rb_str_dump): need to extend len for \b. + Tue Jul 11 15:29:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * bignum.c (rb_int2big): use SIGNED_VALUE. [ruby-dev:29019] @@ -2497,7 +2497,7 @@ rb_str_dump(VALUE str) case '"': case '\\': case '\n': case '\r': case '\t': case '\f': - case '\013': case '\007': case '\033': + case '\013': case '\010': case '\007': case '\033': len += 2; break; |