eio icon indicating copy to clipboard operation
eio copied to clipboard

unable to write binary data to file

Open wquockATblurb opened this issue 12 years ago • 1 comments

This is a blocker.

This can be easily reproduced using

    EM.run do
      EIO.eventmachine_handler # let libeio notify when there's result callbacks to invoke
      EIO.open(path, EIO::RDWR|EIO::CREAT) do |fd|
        EIO.write(fd, "buf contents: \0hello") do |b| # put the zero byte using \0
          EM.stop_event_loop
        end
      end
    end

wquockATblurb avatar Apr 05 '12 18:04 wquockATblurb

Hey,

I currently have a lot going on, but will schedule some time for reported issues on the eio wrapper during the next few days. Apologies for not being able to make a faster turnaround - thanks for the bug report.

methodmissing avatar Apr 05 '12 18:04 methodmissing