Skip to content

Is glibc_file::needs_flush correct #4469

@YohnWang

Description

@YohnWang

I find this->file_->_IO_write_ptr - this->file_->_IO_write_end in arm and aarch64 will be negative some times.
if I does'nt define NDEBUG, to_unsigned will assert failed and abort.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions