diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval_intern.h | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Wed Apr 30 16:10:18 2008 Yusuke Endoh <mame@tsg.ne.jp> + + * eval_intern.h: speficy the values of the enumeration constants + explicitly. [ruby-dev:34489] + Wed Apr 30 12:32:39 2008 Tanaka Akira <akr@fsij.org> * process.c (check_exec_redirect_fd): prohibit duplex IO. diff --git a/eval_intern.h b/eval_intern.h index 8296ee0f5..c04befba5 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -194,8 +194,8 @@ void rb_thread_wait_other_threads(void); enum { RAISED_EXCEPTION = 1, - RAISED_STACKOVERFLOW, - RAISED_NOMEMORY, + RAISED_STACKOVERFLOW = 2, + RAISED_NOMEMORY = 4, }; int rb_thread_set_raised(rb_thread_t *th); int rb_thread_reset_raised(rb_thread_t *th); |