ruby-cvs:16280
From: (akr) <akr ruby-lang.org>
Date: Sat, 7 Jan 2006 06:28:56 +0900
Subject: [ruby-cvs:16280] ruby: * eval.c (rb_fd_isset): compare the result of FD_ISSET with 0 to
akr Sat, 7 Jan 2006 06:28:56 +0900
Modified files:
ruby:
ChangeLog eval.c
Log:
* 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
Revision Changes Path
1.4890 +8 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.4889&r2=1.4890
1.866 +1 -1 ruby/eval.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/eval.c?cvsroot=src&r1=1.865&r2=1.866