From 969f4d4c68ecb9dd03bfc1fa8b12c19ea08046fe Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 1 Oct 2003 13:41:35 +0000 Subject: * 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 --- eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eval.c') 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; -- cgit v1.2.3