is this a bug?

Discussion in 'Ruby' started by Roger Pack, Nov 8, 2008.

  1. Roger Pack

    Roger Pack Guest

    works in linux...


    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 `<main>'

    ?
    Thanks!
    -=R
     
    Roger Pack, Nov 8, 2008
    #1
    1. Advertisements

  2. Roger Pack

    Roger Pack Guest

    To answer my own question, turns out that file descriptors don't "do"
    blocking in windows--only socket descriptors do. Go figure.
    -=R
     
    Roger Pack, Nov 11, 2008
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.