Skip to content
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

path_create_directory shouldn't behave recursively #5158

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

yagehu
Copy link
Contributor

@yagehu yagehu commented Oct 18, 2024

This commit fixes a non-compatible (with other runtimes, intention of WASI, and POSIX) behavior in path_create_directory WASI implementation. Instead of creating directories recursively, the function fails if any intermediate component does not exist.

fixes #5157

This commit fixes a non-compatible (with other runtimes, intention of
WASI, and POSIX) behavior in `path_create_directory` WASI
implementation. Instead of creating directories recursively, the
function fails if any intermediate component does not exist.

fixes wasmerio#5157

Signed-off-by: Yage Hu <[email protected]>
@syrusakbary
Copy link
Member

Thanks for the fix! Merging

@syrusakbary syrusakbary merged commit 6f0869f into wasmerio:main Oct 19, 2024
70 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WASI path_create_directory recusively creates directories
2 participants