Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[fml] Pass OPEN_ALWAYS for create_if_necessary#33033

Merged
zanderso merged 1 commit intoflutter:mainfrom
zanderso:fml-win-file-open-always
May 1, 2022
Merged

[fml] Pass OPEN_ALWAYS for create_if_necessary#33033
zanderso merged 1 commit intoflutter:mainfrom
zanderso:fml-win-file-open-always

Conversation

@zanderso
Copy link
Member

@zanderso zanderso commented May 1, 2022

CREATE_NEW fails if the file already exists.

OPEN_ALWAYS does what the flag says and creates the file if needed.

See https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea

@zanderso zanderso requested review from cbracken and dnfield May 1, 2022 00:01
@zanderso zanderso force-pushed the fml-win-file-open-always branch from 382d90e to cdfb660 Compare May 1, 2022 02:44
@zanderso zanderso merged commit 1636f00 into flutter:main May 1, 2022
@zanderso zanderso deleted the fml-win-file-open-always branch May 1, 2022 04:06
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants