Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dmd.root.filename: Fix FileName.canonicalPath() regression on Windows #11293

Merged
merged 1 commit into from
Jun 19, 2020

Commits on Jun 18, 2020

  1. dmd.root.filename: Fix FileName.canonicalPath() regression on Windows

    The assertion was wrong and guaranteed to fail when enabled (my bad).
    This is a reboot of dlang#11111.
    
    Also make sure to return a new root.rmem-managed memory allocation in
    all cases, i.e., not the malloc'd memory directly for the
    canonicalize_file_name version. E.g., the memory is released via
    mem.xfree() in FileName.safeSearchPath().
    kinke committed Jun 18, 2020
    Configuration menu
    Copy the full SHA
    8b3b05c View commit details
    Browse the repository at this point in the history