emscripten-core / emscripten

Emscripten: An LLVM-to-WebAssembly Compiler
Other
25.91k stars 3.32k forks source link

Trying to create a directory in a file should return ENOTDIR not EPERM #23025

Closed hoodmane closed 1 day ago

hoodmane commented 6 days ago

In linux, mkdir("some_file/dir") returns ENOTDIR but Emscripten returns EPERM. This fixes it.

hoodmane commented 5 days ago

@sbc100 looks like test_nodejs_sockets_echo_subprotocol failed with Exception: [Websockify failed to start up in a timely manner] twice in a row...

hoodmane commented 5 days ago

test_nodejs_sockets_echo_subprotocol failed again. It works fine if I run it locally.

hoodmane commented 5 days ago

It's also failing on #23017 and #22925.

sbc100 commented 1 day ago

It's also failing on #23017 and #22925.

yes it seems to be very flaky recently. I'm not sure why