Skip to content

@lute/fs fs.open(path, "w") throws an error when file does not exist #758

@Gravemind1142

Description

@Gravemind1142

Not sure what are the expected behaviours for these handle modes are "r" | "w" | "x" | "a" | "r+" | "w+" | "x+" | "a+", but if this is based on C std::fopen then using "w" should create the file if it doesn't exist. Right now it throws a no such file or directory error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingruntimeWork in the C++ runtime portion of the code

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions