cvs commit: ports/lang/ruby18/files patch-eval.c
Hajimu UMEMOTO
ume at FreeBSD.org
Sat Jan 21 21:47:54 PST 2006
ume 2006-01-22 05:47:53 UTC
FreeBSD ports repository
Modified files:
lang/ruby18/files patch-eval.c
Log:
Better fix for the problem on AMD64 and Pentium4 since rev1.4.
getcontext() saves EFLAGS and setcontext() restores it. When carry
flag is set in EFLAGS, setcontext() treats it as an system call error.
This problem is filed as misc/92110.
rev1.3 and before hid this problem, and rev1.4 exposed it.
Drop carry flag before getcontext() for workaround for this problem.
Submitted by: Tanaka Akira <akr__at__m17n.org>
Tested by: TAKANO Yuji <takachan__at__running-dog.net>
Revision Changes Path
1.6 +19 -22 ports/lang/ruby18/files/patch-eval.c
More information about the cvs-all
mailing list