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

Removed trailing zero in WASI::fd_prestat_dir_name name return (for #3025) #3061

Merged
merged 3 commits into from
Oct 13, 2022

Conversation

ptitSeb
Copy link
Contributor

@ptitSeb ptitSeb commented Aug 2, 2022

Description

Removed trailing zero in WASI::fd_prestat_dir_name returned name (for #3025)

@epilys
Copy link
Contributor

epilys commented Aug 2, 2022

Posix defines character strings as null terminated, personally I'd like all path strings that go out into a module to be null terminated. What do you think?

@ptitSeb
Copy link
Contributor Author

ptitSeb commented Aug 2, 2022

I agree, but this is WASI here, not POSIX. check the ticket mentioned for more detail. Not sure the change should be done. But if we don't it, we should close the mentioned ticket as a "will not be done"

@ptitSeb
Copy link
Contributor Author

ptitSeb commented Oct 13, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 13, 2022

Build succeeded:

  • Code lint

@bors bors bot merged commit 5db56ce into master Oct 13, 2022
@bors bors bot deleted the fix_fd_prestat_dir_name_trailing_zero branch October 13, 2022 13:13
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.

3 participants