diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-04 13:54:53 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-04 13:54:53 +0000 |
| commit | 6f3784254144eefd1f464440c095e937a590d9c0 (patch) | |
| tree | 03c68348baf4817bb437c252b77ce7aa8ea26ecb | |
| parent | 46d3a078abbe026bc963f7325c581796a3f05fb8 (diff) | |
| download | ruby-6f3784254144eefd1f464440c095e937a590d9c0.tar.gz ruby-6f3784254144eefd1f464440c095e937a590d9c0.tar.xz ruby-6f3784254144eefd1f464440c095e937a590d9c0.zip | |
* eval.c: apply the FreeBSD getcontext/setcontext workaround
only before FreeBSD 7-CURRENT.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | eval.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Feb 4 22:51:43 2006 Tanaka Akira <akr@m17n.org> + + * eval.c: apply the FreeBSD getcontext/setcontext workaround + only before FreeBSD 7-CURRENT. + Sat Feb 4 21:19:23 2006 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.c (LK_ERR): ERROR_NOT_LOCKED is not an error. @@ -179,7 +179,7 @@ int function_call_may_return_twice_false_2 = 0; (function_call_may_return_twice_false_2 ? \ setjmp(function_call_may_return_twice_jmp_buf) : \ 0) -# elif defined(__FreeBSD__) +# elif defined(__FreeBSD__) && __FreeBSD__ < 7 /* * workaround for FreeBSD/i386 getcontext/setcontext bug. * clear the carry flag by (0 ? ... : ...). |
