Skip to content

Fix signedness mismatches in the syscall layer #19631

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

Merged
merged 3 commits into from
Jun 21, 2023

Conversation

kleisauke
Copy link
Collaborator

Split from: #19559.

@@ -574,8 +576,10 @@ var SyscallsLibrary = {

return total;
},
_msync_js: function(addr, len, prot, flags, fd, offset) {
SYSCALLS.doMsync(addr, SYSCALLS.getStreamFromFD(fd), len, flags, 0);
Copy link
Collaborator Author

@kleisauke kleisauke Jun 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why offset was previously ignored here.

@sbc100 sbc100 enabled auto-merge (squash) June 21, 2023 06:48
@sbc100 sbc100 merged commit 21cc30d into emscripten-core:main Jun 21, 2023
@kleisauke kleisauke deleted the correct-types-split branch June 21, 2023 16:19
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.

2 participants