Skip to content

libcglue: clarify resetting newlib stdio init in __locks_init#357

Merged
sharkwouter merged 1 commit intopspdev:masterfrom
fjtrujy:fix_InitLockAPI
Mar 11, 2026
Merged

libcglue: clarify resetting newlib stdio init in __locks_init#357
sharkwouter merged 1 commit intopspdev:masterfrom
fjtrujy:fix_InitLockAPI

Conversation

@fjtrujy
Copy link
Member

@fjtrujy fjtrujy commented Mar 6, 2026

Longer description (optional):
Clarify the reason for clearing _REENT_CLEANUP(_REENT) in __locks_init so that readers understand this forces newlib to treat stdio as uninitialized and re-create FILE structures and their locks on next use.

Longer description (optional):
Clarify the reason for clearing _REENT_CLEANUP(_REENT) in __locks_init so that readers understand this forces newlib to treat stdio as uninitialized and re-create FILE structures and their locks on next use.
@fjtrujy fjtrujy requested a review from sharkwouter March 10, 2026 18:02
Copy link
Member

@sharkwouter sharkwouter left a comment

Choose a reason for hiding this comment

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

Hey @fjtrujy, sorry for not finding the time to look at this on the weekend. I tested this now and I didn't notice a difference, which is a good thing. I'll merge this.

@sharkwouter sharkwouter merged commit d37d1e6 into pspdev:master Mar 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants