diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun Sep 6 19:47:10 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * eval.c (rb_exc_raise, rb_exc_fatal): require exception object. + [ruby-core:24767] + Sun Sep 6 01:34:03 2009 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.c (rb_w32_connect): return value was broken when some @@ -4662,6 +4662,7 @@ void rb_exc_raise(mesg) VALUE mesg; { + mesg = rb_make_exception(1, &mesg); rb_longjmp(TAG_RAISE, mesg); } @@ -4669,6 +4670,7 @@ void rb_exc_fatal(mesg) VALUE mesg; { + mesg = rb_make_exception(1, &mesg); rb_longjmp(TAG_FATAL, mesg); } @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2009-09-06" #define RUBY_VERSION_CODE 187 #define RUBY_RELEASE_CODE 20090906 -#define RUBY_PATCHLEVEL 198 +#define RUBY_PATCHLEVEL 199 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |