From e2f83316c21b5c63eafdb5695cffd23f12053ee1 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 15 Apr 2002 07:48:47 +0000 Subject: * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- error.c | 1 + 1 file changed, 1 insertion(+) (limited to 'error.c') diff --git a/error.c b/error.c index edf0b16e2..936079a65 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; } -- cgit