-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Replace ReadFile/WriteFile usages with stdio #116203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
bc0aeaa
fopen_u16
huoyaoyuan f21899c
Return errno
huoyaoyuan 91a65d8
Add fgetsize
huoyaoyuan da5e47d
General ReadFile
huoyaoyuan 8d87a78
General WriteFile
huoyaoyuan fbe663c
Better error code
huoyaoyuan b8a70b5
CFileStream
huoyaoyuan 727b55b
Use stdio in superpmi
huoyaoyuan 67943e6
superpmi batch 2
huoyaoyuan dee1622
Use fstream for string/number extracting
huoyaoyuan 3f9913d
Superpmi batch 3
huoyaoyuan 605b939
Fix missing fflush
huoyaoyuan 970a294
Use fprintf instead
huoyaoyuan 8192513
Use 64bit seek/tell
huoyaoyuan de36695
Fix build
huoyaoyuan c481f02
Wrap long path
huoyaoyuan d44f02f
Fix gcc build
huoyaoyuan 926a46e
Merge branch 'main' into pal/stdio
huoyaoyuan b7f56c1
Fix msvc build
huoyaoyuan e929448
Cleanup CFileStream usage
huoyaoyuan 492473d
Port aot implementation of eventpipe file operations
huoyaoyuan 6218277
Cleanup fstream
huoyaoyuan 7a7950a
Delete outdated comment in pewriter
huoyaoyuan c1aab56
Remove PerfData in ildasm
huoyaoyuan 3cfb4b3
Revert changes in superpmi
huoyaoyuan 4894d4c
Fix build
huoyaoyuan 791551d
Fix missing fclose
huoyaoyuan e0071ef
Fix string terminator
huoyaoyuan 02b95d7
Merge branch 'main'
huoyaoyuan 8ad7cf7
Remove unnecessary cast
huoyaoyuan 78f8ffc
Preserve errno before delete[]
huoyaoyuan 4cef9b5
Merge branch 'main'
huoyaoyuan f8c78b9
Merge branch 'main' into pal/stdio
huoyaoyuan 2f25e28
Update ep-rt definition
huoyaoyuan 9629fe3
Add contract to wrapper
huoyaoyuan b9db604
Update naming convention
huoyaoyuan a35bfc5
Additional usage of WszCreateFile
huoyaoyuan e90ff73
Guard fgetsize usage
huoyaoyuan be683e3
_wfopen_s
huoyaoyuan a2b92b0
Merge branch 'main' into pal/stdio
huoyaoyuan a12016a
Handle allocation throwing
huoyaoyuan 1b5c996
Use E_FAIL in multicorejit
huoyaoyuan f96648d
Preserve hr from MAKE_UTF8PTR_FROMWIDE
huoyaoyuan b105300
Use HRESULTFromErrno
huoyaoyuan bec996e
Merge branch 'main' into pal/stdio
huoyaoyuan 61a7c7e
Use _ftelli64
huoyaoyuan e78dd1e
Make error code signed
huoyaoyuan f2663b9
Also update m_dwMResSize when failure
huoyaoyuan f862119
Always check return code of fopen_lp
huoyaoyuan 1b32f49
Eliminate raw usages of u16_fopen_s
huoyaoyuan 3056b9d
Merge branch 'main' into pal/stdio
huoyaoyuan e0584f0
Fix building
huoyaoyuan 6553e8c
Don't rely on GetLastError on Windows
huoyaoyuan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.