Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@zanderso
Copy link
Member

In the Posix implementation of this API, when both a base directory and an absolute path are provided, the base directory is ignored. This is because they are implemented with the *at() family of functions. See for example https://linux.die.net/man/2/openat.

This PR provides the same behavior on Windows.

Prior to this PR, the behavior is pasting the absolute path on the end of the absolute path of the base directory, which is causing impellerc to fail to write its output in tests on Windows.

@zanderso zanderso merged commit b8d80cd into flutter:main Apr 30, 2022
@zanderso zanderso deleted the file-win-fixes branch April 30, 2022 17:39
Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants