aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-25 13:30:39 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-25 13:30:39 +0000
commit3e16f5a3f053645e2e640ff5068fd97cdaffb7de (patch)
tree7bb6b1231e1377e0d703137ba4c406300581fcf2
parentf7d46c88609f4991ef899059a7d16801aa245574 (diff)
downloadruby-3e16f5a3f053645e2e640ff5068fd97cdaffb7de.tar.gz
* string.c (rb_str_update): don't return any value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--string.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0cdc277c6c..31e06525b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Dec 25 22:29:53 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * string.c (rb_str_update): don't return any value.
+
Thu Dec 25 15:30:17 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_update): call rb_str_modify().
diff --git a/string.c b/string.c
index f32dad275b..52e17c6801 100644
--- a/string.c
+++ b/string.c
@@ -1631,7 +1631,7 @@ rb_str_update(str, beg, len, val)
VALUE val;
{
rb_str_modify(str);
- return rb_str_splice(str, beg, len, val);
+ rb_str_splice(str, beg, len, val);
}
static void