mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz(ruby-bugs PR#51)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c1bbe10599
commit
6155633068
3 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Wed Aug 9 16:31:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* eval.c (rb_callcc): thread status for continuations must be
|
||||||
|
THREAD_KILLED, otherwise thread_free() breaks other threads.
|
||||||
|
|
||||||
Wed Aug 9 13:24:25 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
|
Wed Aug 9 13:24:25 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
|
||||||
|
|
||||||
* win32/win32.[ch]: emulate rename(2).
|
* win32/win32.[ch]: emulate rename(2).
|
||||||
|
|
1
eval.c
1
eval.c
|
@ -8092,6 +8092,7 @@ rb_callcc(self)
|
||||||
struct tag *tag;
|
struct tag *tag;
|
||||||
|
|
||||||
THREAD_ALLOC(th);
|
THREAD_ALLOC(th);
|
||||||
|
th->status = THREAD_KILLED;
|
||||||
th->thread = cont = Data_Wrap_Struct(rb_cCont, thread_mark,
|
th->thread = cont = Data_Wrap_Struct(rb_cCont, thread_mark,
|
||||||
thread_free, th);
|
thread_free, th);
|
||||||
|
|
||||||
|
|
2
io.c
2
io.c
|
@ -2836,7 +2836,7 @@ rb_f_syscall(argc, argv)
|
||||||
int argc;
|
int argc;
|
||||||
VALUE *argv;
|
VALUE *argv;
|
||||||
{
|
{
|
||||||
#ifdef HAVE_SYSCALL
|
#if defined(HAVE_SYSCALL) && !defined(__CHECKER__)
|
||||||
#ifdef atarist
|
#ifdef atarist
|
||||||
unsigned long arg[14]; /* yes, we really need that many ! */
|
unsigned long arg[14]; /* yes, we really need that many ! */
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue