Skip to content

unable to write binary data to file #3

@wquockATblurb

Description

@wquockATblurb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions