Skip to content

File.expand_path("NUL") broken #1312

@djberg96

Description

@djberg96

File.expand_path("NUL") and File.expand_path("NUL:") should expand to "//./NUL" on Windows. Instead it appears to be expanding to the end of the current path.

NUL is a special device on Windows, equivalent to /dev/null.

http://en.wikipedia.org/wiki/NUL:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions