Is this a bug?

works in linux…

a= Tempfile.new ‘a’
=> #<File:C:/DOCUME~1/RANDOM~1/LOCALS~1/Temp/a20081107-940-1dev029-0>

a.write_nonblock ‘yoyo’
Errno::EBADF: Bad file descriptor -
C:/DOCUME~1/RANDOM~1/LOCALS~1/Temp/a20081107-940-1dev029-0
from (irb):5
from c:/installs/ruby_snapshot/bin/irb.bat:20:in `’

?
Thanks!
-=R

Errno::EBADF: Bad file descriptor -
C:/DOCUME~1/RANDOM~1/LOCALS~1/Temp/a20081107-940-1dev029-0
from (irb):5
from c:/installs/ruby_snapshot/bin/irb.bat:20:in `’

To answer my own question, turns out that file descriptors don’t “do”
blocking in windows–only socket descriptors do. Go figure.
-=R