summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-01 13:41:35 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-01 13:41:35 +0000
commit969f4d4c68ecb9dd03bfc1fa8b12c19ea08046fe (patch)
treecca128be5415889e9943c24fc0d4173737efa131 /eval.c
parentcbb7a67c325e4eeaafd999f0b82704b8470810e5 (diff)
* ext/etc/etc.c: add new functions: setpwent, getpwent, endpwent,
setgrent, getgrent, endgrent. * ext/socket/socket.c (sock_s_gethostbyname): do not reverse lookup. * Makefile.in: copy lex.c from $(srcdir) if it's not the current directory. [ruby-dev:21437] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index d8162916ba..622bbeff65 100644
--- a/eval.c
+++ b/eval.c
@@ -9752,7 +9752,7 @@ static VALUE
rb_thread_raise(argc, argv, th)
int argc;
VALUE *argv;
- rb_thread_t th;
+ volatile rb_thread_t th;
{
if (rb_thread_dead(th)) return Qnil;
if (curr_thread == th) {
@@ -9924,7 +9924,7 @@ rb_callcc(self)
VALUE self;
{
volatile VALUE cont;
- rb_thread_t th;
+ volatile rb_thread_t th;
struct tag *tag;
struct RVarmap *vars;