Hello all,
I am referring to the thread here -
Can someone throw more light on what’s
Errno::EBADF in the code -
begin
Read stuff etc.
rescue Errno::EBADF
Whatever
end
Thanks.
Hello all,
I am referring to the thread here -
Can someone throw more light on what’s
Errno::EBADF in the code -
begin
rescue Errno::EBADF
end
Thanks.
Those come from errno''. See the errno(3) manpage. And, from that man:
EBADF Bad file descriptor (POSIX.1)’’
However, I have no idea what would cause it. Possibly closing a FD
and then trying to use it later (think C/low-level) but, I’m note
sure.
Paul
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs