eio
eio copied to clipboard
unable to write binary data to file
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
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.