summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-06 08:59:41 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-06 08:59:41 +0000
commit7881363731eb4695c745b49ad67652ae8062f995 (patch)
tree2f7eca34d979d1873f34daba9cbdac950777184a /marshal.c
parent3edb155cd1bab6d1c66ae2c786cfdb71d5d8113d (diff)
* gc.c (ruby_xmalloc): remove MALLOC_LIMIT to avoid frequent
garabage collection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index e6672d2..e52508d 100644
--- a/marshal.c
+++ b/marshal.c
@@ -114,7 +114,7 @@ w_bytes(s, n, arg)
fwrite(s, 1, n, arg->fp);
}
else {
- rb_str_cat(arg->str, s, n);
+ rb_str_buf_cat(arg->str, s, n);
}
}