From dea6ce41b404df35944ab6063c614497b1b2984e Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 24 Aug 2000 06:21:43 +0000 Subject: matz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- error.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'error.c') diff --git a/error.c b/error.c index 073ddfcebe..736598ca6d 100644 --- a/error.c +++ b/error.c @@ -1087,8 +1087,8 @@ err_append(s) else { VALUE str = rb_str_to_str(ruby_errinfo); - rb_str_cat(str, "\n", 1); - rb_str_cat(str, s, strlen(s)); + rb_str_cat2(str, "\n"); + rb_str_cat2(str, s); ruby_errinfo = rb_exc_new3(rb_eSyntaxError, str); } } -- cgit v1.2.3