You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emscripten 4.0.2 has fixes for all of the file system bugs I've looked into. There are still problems with nonblocking I/O which I haven't looked into.
First I'd like to get the test suite to run all the way through, then to pass.
cc @freakboy3742
Update 2025/01/30
Emscripten 4.0.2 has fixes for all of the file system bugs I've looked into. There are still problems with nonblocking I/O which I haven't looked into.
Emscripten PRs:
/dev/nullemscripten-core/emscripten#22886Make readlink system call not resolve the link emscripten-core/emscripten#23000
Trying to create a directory in a file should return ENOTDIR not EPERM emscripten-core/emscripten#23025
Refactor lookupPath to avoid recursion. NFC emscripten-core/emscripten#23017
Fix path resolution for symlinks emscripten-core/emscripten#23072
Make readdir on /proc/self/fd work emscripten-core/emscripten#23073
Add nodefs readdir handling for directories that contain exotic entries emscripten-core/emscripten#22925
Make fstat work on file descriptor with no name emscripten-core/emscripten#23058
When opening broken symlink with O_CREAT, create file at target emscripten-core/emscripten#23002
JS file system: distinguish between atime, mtime, and ctime emscripten-core/emscripten#22998
Fix renaming a file on top of an existing file in memfs and nodefs emscripten-core/emscripten#23074
Handle trailing % in strftime emscripten-core/emscripten#23045
Add wcsftime from musl. NFC emscripten-core/emscripten#23061
Return EISDIR when trying to create a path ending in / with open emscripten-core/emscripten#23135
Fix
mkdir("a/b/..")should returnEEXISTemscripten-core/emscripten#23136Make open O_CREATE mode 0 work emscripten-core/emscripten#23137
Ensure the ino we give to readdir matches the ino we give to stat emscripten-core/emscripten#23139
Correctly handle calls setting timestamp to 0 emscripten-core/emscripten#23310
Raise ENOSYS if AT_SYMLINK_NOFOLLOW is used with chmod or chown in nodefs emscripten-core/emscripten#23307
[FS] Allow pipes to be stat'ed emscripten-core/emscripten#23306
[FS] lookupPath should throw an error on an empty string emscripten-core/emscripten#23366
[FS] Make fstat work on file descriptors with no name in node rawfs emscripten-core/emscripten#23364
[FS] Make fstatfs actually work emscripten-core/emscripten#23381
[FS] Make fstat work on file descriptors with no name in memfs emscripten-core/emscripten#23470
[FS] Make fstat work on file descriptors with no name in nodefs emscripten-core/emscripten#23480
JS FS: Don't return ELOOP on a path with a large number of ..'s emscripten-core/emscripten#24591
Looking up ip for localhost should return 127.0.0.1 emscripten-core/emscripten#24593
Linked PRs
-sTEXTDECODER=2#136624-sTEXTDECODER=2(GH-136624) #136631