Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fs: Fix fstat retarget for regular files #5203
GCC's newlib library depends on fstat to get in-flight information about a file's type an size. A working fstat for regular files is needed for seek and related functions to work correctly.
Side note about testing this and #5183, I have tests inbound, which is what's finding these bugs. They're currently targeting littlefs here, but I will also bring them over the FAT filesystem once they're up and running.