summaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2006-01-22 05:47:53 +0000
committerume <ume@FreeBSD.org>2006-01-22 05:47:53 +0000
commit3741cfb89629b7acd480b6f6e5c942f8fe50106b (patch)
treec9d187362c56d44220a73a1f0ea067ad32dec046 /cad
parent2e0b10746e1c58e6a3fb065e659e25a3b0df4900 (diff)
downloadFreeBSD-ports-3741cfb89629b7acd480b6f6e5c942f8fe50106b.zip
FreeBSD-ports-3741cfb89629b7acd480b6f6e5c942f8fe50106b.tar.gz
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>
Diffstat (limited to 'cad')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud