diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-01-06 21:28:54 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-01-06 21:28:54 +0000 |
commit | 199ef57934de0fd0bf2d1682df8714f85b65dfcc (patch) | |
tree | d35685e9c9e91e3254d9e6a26bde78d289e8d185 /ChangeLog | |
parent | 969519f1649c8dec38c6e3ea0fc63e7bd0d175fd (diff) | |
download | ruby-199ef57934de0fd0bf2d1682df8714f85b65dfcc.tar.gz |
* eval.c (rb_fd_isset): compare the result of FD_ISSET with 0 to
avoid BSD bug. BSD defines FD_ISSET as just a bitmap of unsigned
long. So returning the value from rb_fd_isset discards upper
32bits on LP64 environment.
http://www.freebsd.org/cgi/query-pr.cgi?pr=ia64/91421
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Sat Jan 7 06:24:18 2006 Tanaka Akira <akr@m17n.org> + + * eval.c (rb_fd_isset): compare the result of FD_ISSET with 0 to + avoid BSD bug. BSD defines FD_ISSET as just a bitmap of unsigned + long. So returning the value from rb_fd_isset discards upper + 32bits on LP64 environment. + http://www.freebsd.org/cgi/query-pr.cgi?pr=ia64/91421 + Fri Jan 6 02:20:18 2006 Tanaka Akira <akr@m17n.org> * configure.in: don't force getcontext on IA64. |