summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-15 07:48:47 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-15 07:48:47 +0000
commit9a24232fd28baa60a4a460b2fc70a538b746bca0 (patch)
tree0271f0e93347e90c82031366dc666f7f93838370 /error.c
parentcb944528b6e73eb220d31f487d350e752aef5027 (diff)
* pack.c (pack_unpack): should treat 'U' in character unit, not in
byte unit. * error.c (exc_initialize): should clear backtrace information. * io.c (rb_io_fptr_cleanup): should close IO created by IO.new(fd). * rubyio.h: remove FMODE_FDOPEN git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/error.c b/error.c
index edf0b16e2b..936079a659 100644
--- a/error.c
+++ b/error.c
@@ -309,6 +309,7 @@ exc_initialize(argc, argv, exc)
StringValue(mesg); /* ensure mesg can be converted to String */
}
rb_iv_set(exc, "mesg", mesg);
+ rb_iv_set(exc, "bt", Qnil);
return exc;
}