summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-18 14:43:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-18 14:43:03 +0000
commit44f0517a1381df95b8a8e852d273c2341f1c5917 (patch)
treec9efd63393f558df2231c7aee70e8c0c6b98ffa8 /error.c
parent16c878227e224a1a74cbc0f8d9b054fa40400197 (diff)
* error.c (exc_exception): reverted to call Exception#initialize
directly. fixed: [ruby-dev:26177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index 8583286e71..1f4a7235f0 100644
--- a/error.c
+++ b/error.c
@@ -384,7 +384,7 @@ exc_exception(argc, argv, self)
if (argc == 0) return self;
if (argc == 1 && self == argv[0]) return self;
exc = rb_obj_clone(self);
- rb_obj_call_init(exc, argc, argv);
+ exc_initialize(argc, argv, exc);
return exc;
}