From 2de3f183190732710ba8859c3259551c628eeda4 Mon Sep 17 00:00:00 2001 From: mame Date: Wed, 30 Apr 2008 07:12:37 +0000 Subject: [PATCH] * eval_intern.h: speficy the values of the enumeration constants explicitly. [ruby-dev:34489] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ eval_intern.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 46b8e073d8..367fd7eb73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Apr 30 16:10:18 2008 Yusuke Endoh + + * eval_intern.h: speficy the values of the enumeration constants + explicitly. [ruby-dev:34489] + Wed Apr 30 12:32:39 2008 Tanaka Akira * process.c (check_exec_redirect_fd): prohibit duplex IO. diff --git a/eval_intern.h b/eval_intern.h index 8296ee0f51..c04befba58 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);