зеркало из https://github.com/github/ruby.git
* string.c (rb_str_dump): need to extend len for \b.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
1db0db3ba0
Коммит
6f535f34c5
|
@ -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]
|
||||
|
|
2
string.c
2
string.c
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче