-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
xloctime
: do_put
shouldn't modify errno on success
#2049
Conversation
xloctime
: do_put
shouldn't modify errnoxloctime
: do_put
shouldn't modify errno on success
Thanks! I pushed a conflict-free merge with The product code change looks correct and comprehensive. (And I'm not worried about testing the |
Marking as blocked due to the redist impact (hopefully we will know soon when we can merge this class of PRs). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. I would ask for a test when errno does not start out as zero, but I think the current test is sufficient to catch regressions.
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for investigating and fixing this runtime correctness bug! 🐞 ✅ 😻 |
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Fixes #2045