summaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-01-05 04:41:21 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-01-05 04:41:21 +0000
commit56e60da9db31c4b6ec8d6433be9710470daaf34a (patch)
treece7e90b3c16ce6246be9850c9b1ea1328992c0e7 /error.c
parentc3f7c758488c87d12a779345c567f1b4b5e910b0 (diff)
downloadruby-56e60da9db31c4b6ec8d6433be9710470daaf34a.tar.gz
ruby-56e60da9db31c4b6ec8d6433be9710470daaf34a.tar.xz
ruby-56e60da9db31c4b6ec8d6433be9710470daaf34a.zip
20000105
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index 762151cc7..7959620d6 100644
--- a/error.c
+++ b/error.c
@@ -6,7 +6,7 @@
$Date$
created at: Mon Aug 9 16:11:34 JST 1993
- Copyright (C) 1993-1999 Yukihiro Matsumoto
+ Copyright (C) 1993-2000 Yukihiro Matsumoto
************************************************/
@@ -279,7 +279,7 @@ rb_exc_new3(etype, str)
char *s;
int len;
- s = str2cstr(str, &len);
+ s = rb_str2cstr(str, &len);
return rb_exc_new(etype, s, len);
}