Skip to content

core::io cleanup #2004

Closed
Closed
@catamorphism

Description

@catamorphism

Address FIXMEs in core::io:

  • Unbuffered operations?
  • Make seekable orthogonal
  • In reader::read_chars(), handle the case where eof occurs in the middle of a Unicode char
  • In reader::read_char(), make sure it's valid to return -1
  • In reader::read_le_uint, deal with EOF
  • Improve forwarding implementation of reader
  • Restructure top-level stdin() and file_reader()
  • fileflags in buffered_file_writer()
  • Make stdin, stdout, stderr consts
  • Figure out why stdin() is different from stdout() and stderr()
  • Optimize mem_buffer::write()
  • Implement read_whole_file() in a low-level way
  • Improve fsync::FILE_res_sync()

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions