-
Couldn't load subscription status.
- Fork 3.4k
[FS] Make fstat work on file descriptors with no name in node rawfs #23364
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
[FS] Make fstat work on file descriptors with no name in node rawfs #23364
Conversation
This fixes fstat on "anonymous" file descriptors in node rawfs. It is split off from emscripten-core#23058.
|
@sbc100 could you review this when you have a chance? |
|
@sbc100 I'd still appreciate review on this when you have a chance, it's only 10 lines of source changes. |
This is an automatic change generated by tools/maint/rebaseline_tests.py. The following (13) test expectation files were updated by running the tests with `--rebaseline`: ``` other/codesize/test_codesize_cxx_ctors1.size: 129211 => 129218 [+7 bytes / +0.01%] other/codesize/test_codesize_cxx_ctors2.size: 128623 => 128630 [+7 bytes / +0.01%] other/codesize/test_codesize_cxx_except.size: 170879 => 170886 [+7 bytes / +0.00%] other/codesize/test_codesize_cxx_except_wasm.size: 142162 => 142169 [+7 bytes / +0.00%] other/codesize/test_codesize_cxx_except_wasm_exnref.size: 144708 => 144715 [+7 bytes / +0.00%] other/codesize/test_codesize_cxx_mangle.size: 232724 => 232731 [+7 bytes / +0.00%] other/codesize/test_codesize_cxx_noexcept.size: 131774 => 131781 [+7 bytes / +0.01%] other/codesize/test_codesize_cxx_wasmfs.size: 169181 => 169188 [+7 bytes / +0.00%] other/codesize/test_codesize_hello_O0.size: 15101 => 15113 [+12 bytes / +0.08%] other/codesize/test_codesize_minimal_pthreads.size: 19394 => 19405 [+11 bytes / +0.06%] other/test_unoptimized_code_size.wasm.size: 15101 => 15113 [+12 bytes / +0.08%] other/test_unoptimized_code_size_no_asserts.wasm.size: 12182 => 12194 [+12 bytes / +0.10%] other/test_unoptimized_code_size_strict.wasm.size: 15101 => 15113 [+12 bytes / +0.08%] Average change: +0.03% (+0.00% - +0.10%) ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm % question
This is an automatic change generated by tools/maint/rebaseline_tests.py. The following (10) test expectation files were updated by running the tests with `--rebaseline`: ``` other/codesize/test_codesize_cxx_ctors1.size: 129211 => 129218 [+7 bytes / +0.01%] other/codesize/test_codesize_cxx_ctors2.size: 128623 => 128630 [+7 bytes / +0.01%] other/codesize/test_codesize_cxx_except.size: 170879 => 170886 [+7 bytes / +0.00%] other/codesize/test_codesize_cxx_except_wasm.size: 144708 => 144715 [+7 bytes / +0.00%] other/codesize/test_codesize_cxx_except_wasm_legacy.size: 142162 => 142169 [+7 bytes / +0.00%] other/codesize/test_codesize_cxx_mangle.size: 232724 => 232731 [+7 bytes / +0.00%] other/codesize/test_codesize_cxx_noexcept.size: 131774 => 131781 [+7 bytes / +0.01%] other/codesize/test_codesize_cxx_wasmfs.size: 169181 => 169188 [+7 bytes / +0.00%] other/codesize/test_codesize_hello_O0.size: 15101 => 15113 [+12 bytes / +0.08%] other/codesize/test_codesize_minimal_pthreads.size: 19394 => 19405 [+11 bytes / +0.06%] Average change: +0.02% (+0.00% - +0.08%) ```
This fixes fstat on "anonymous" file descriptors in node rawfs. It is split off from #23058.