Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Jun 3, 2024

Fixes: #22033

@sbc100 sbc100 changed the title Set errno in fclose if underlying close syscall fails Fix __stdio_close to correctly set errno Jun 3, 2024
@sbc100 sbc100 requested a review from kripken June 3, 2024 15:13
@sbc100 sbc100 changed the title Fix __stdio_close to correctly set errno Set errno correctly during __stdio_close Jun 3, 2024
@sbc100 sbc100 merged commit e691941 into emscripten-core:main Jun 3, 2024
@sbc100 sbc100 deleted the fclose_errno branch June 3, 2024 16:52
msorvig pushed a commit to msorvig/emscripten that referenced this pull request Jun 4, 2024
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.

Expect error if closing a file twice with ::close and ::fclose sequentially, but got nothing

2 participants