cvs commit: ports/lang/ruby18/files patch-eval.c

From: Hajimu UMEMOTO <ume_at_FreeBSD.org>
Date: Sun, 22 Jan 2006 05:47:53 +0000 (UTC)
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
Received on Sun Jan 22 2006 - 05:47:54 UTC