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

fix Issue 23340 - std.path: expandTilde erroneously raises onOutOfMemory on failed getpwam_r() #8572

Merged
merged 1 commit into from
Sep 18, 2022

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Sep 18, 2022

Respect other valid errno codes that mean the name or uid given was not found on the system, instead of incorrectly raising an OOM error.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Auto-close Bugzilla Severity Description
23340 major std.path: expandTilde erroneously raises onOutOfMemory on failed getpwam_r()

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + phobos#8572"

@dlang-bot dlang-bot merged commit d51e3f9 into dlang:master Sep 18, 2022
@ibuclaw ibuclaw deleted the issue23340 branch September 19, 2022 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants