Skip to content

isreadable returns true for a file opened in "w" mode  #5056

Closed
@timholy

Description

julia> s = open("/tmp/test.dat", "w")
IOStream(<file /tmp/test.dat>)

julia> isreadable(s)
true

#5053 shows an example where this behavior can lead to a segfault, suggesting that it isn't truly readable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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