Skip to content

Honour the "x" flag of fopen() - #165

Open
rosenrost wants to merge 1 commit into
freemint:masterfrom
rosenrost:fix/honour-the-x-flag-of-fopen
Open

rosenrost wants to merge 1 commit into
freemint:masterfrom
rosenrost:fix/honour-the-x-flag-of-fopen

Conversation

@rosenrost

Copy link
Copy Markdown
Contributor

The exclusive flag was parsed but ignored, so fopen(path, "wx") truncated an existing file.

The exclusive flag was parsed but ignored, so fopen(path, "wx")
truncated an existing file. Fail with EEXIST instead, as required by
C11.
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.

1 participant