Skip to content

Commit 914e4d2

Browse files
committed
* eval.c: apply the FreeBSD getcontext/setcontext workaround
only before FreeBSD 7-CURRENT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 49a2b01 commit 914e4d2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Sat Feb 4 22:51:43 2006 Tanaka Akira <akr@m17n.org>
2+
3+
* eval.c: apply the FreeBSD getcontext/setcontext workaround
4+
only before FreeBSD 7-CURRENT.
5+
16
Sat Feb 4 21:19:23 2006 NAKAMURA Usaku <usa@ruby-lang.org>
27

38
* win32/win32.c (LK_ERR): ERROR_NOT_LOCKED is not an error.

eval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ int function_call_may_return_twice_false_2 = 0;
179179
(function_call_may_return_twice_false_2 ? \
180180
setjmp(function_call_may_return_twice_jmp_buf) : \
181181
0)
182-
# elif defined(__FreeBSD__)
182+
# elif defined(__FreeBSD__) && __FreeBSD__ < 7
183183
/*
184184
* workaround for FreeBSD/i386 getcontext/setcontext bug.
185185
* clear the carry flag by (0 ? ... : ...).

0 commit comments

Comments
 (0)