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
commita399253153b1c4e6f09d798973524fa3dc158247 (patch)
tree928227957271021aecdc86a40cdc863f055d3c16 /error.c
parentdd2d4bc29bc1d5160d76fc3e3e59a85fe110892e (diff)
downloadruby-a399253153b1c4e6f09d798973524fa3dc158247.tar.gz
* error.c (exc_exception): reverted to call Exception#initialize
directly. fixed: [ruby-dev:26177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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 c8829f8a74..c6f217e5bc 100644
--- a/error.c
+++ b/error.c
@@ -386,7 +386,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;
}