summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--string.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0cdc277c6c..43e653131b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Dec 25 22:39:59 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 106e0420a8..495cde9b34 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