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

[release/6.0] [mono] win32 implementation of g_get_current_dir #58555

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 2, 2021

Backport of #58523 to release/6.0

/cc @lambdageek @radekdoulik

Customer Impact

Android AOT compilation on Windows will fail if the current directory contains non-ASCII characters.

Fixes #56163

Testing

Manual testing

Risk

Low. The issue is only on Windows, and the function in question isn't called from managed code. For AOT compilation, a workaround would be to use a different directory name.

Fix #56163

The getcwd call is returning the string encoded in system character
encoding instead of utf-8.

Use native GetCurrentDirectoryW call instead and convert to utf-8.
@ghost
Copy link

ghost commented Sep 2, 2021

Tagging subscribers to this area:
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #58523 to release/6.0

/cc @lambdageek @radekdoulik

Customer Impact

Testing

Risk

Author: github-actions[bot]
Assignees: -
Labels:

area-VM-meta-mono

Milestone: -

@lewing lewing requested a review from marek-safar September 2, 2021 16:28
@lambdageek
Copy link
Member

Could we get this merged

@marek-safar marek-safar merged commit c300b09 into release/6.0 Sep 7, 2021
@marek-safar marek-safar deleted the backport/pr-58523-to-release/6.0 branch September 7, 2021 15:30
@ghost ghost locked as resolved and limited conversation to collaborators Oct 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants