Skip to content

libcglue: clarify resetting newlib stdio init in __locks_init - #357

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

sharkwouter merged 1 commit into
pspdev:masterfrom
fjtrujy:fix_InitLockAPI

Conversation

@fjtrujy

@fjtrujy fjtrujy commented Mar 6, 2026

Copy link
Copy Markdown
Member

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

@sharkwouter sharkwouter left a comment

Copy link
Copy Markdown
Member

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