ruby-changes:4855
From: ko1@a...
Date: Sun, 11 May 2008 02:11:14 +0900 (JST)
Subject: [ruby-changes:4855] matz - Ruby:r16349 (trunk): * string.c (tr_trans): should not turn on modify flag if no
matz 2008-05-11 02:10:46 +0900 (Sun, 11 May 2008)
New Revision: 16349
Modified files:
trunk/ChangeLog
trunk/string.c
Log:
* string.c (tr_trans): should not turn on modify flag if no
modification happens. [ruby-dev:34631]
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=16349&r2=16348&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16349&r2=16348&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 16348)
+++ ChangeLog (revision 16349)
@@ -6,6 +6,9 @@
* string.c (tr_trans): should check src size, not str size.
[ruby-dev:34637]
+ * string.c (tr_trans): should not turn on modify flag if no
+ modification happens. [ruby-dev:34631]
+
Sat May 10 18:11:18 2008 Yukihiro Matsumoto <matz@r...>
* string.c (rb_str_each_line): zero length record separator should
Index: string.c
===================================================================
--- string.c (revision 16348)
+++ string.c (revision 16349)
@@ -4331,7 +4331,6 @@
}
else {
save = -1;
- modify = 1;
c = c0;
}
while (t - buf + tlen >= max) {
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/