Skip to content

Implement a few more WASI APIs#19124

Open
sbc100 wants to merge 1 commit intomainfrom
implement_some_wasi2
Open

Implement a few more WASI APIs#19124
sbc100 wants to merge 1 commit intomainfrom
implement_some_wasi2

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Apr 3, 2023

Followup to #12704.

fd_renumber: function(fd, to) {
#if SYSCALLS_REQUIRE_FILESYSTEM
var oldStream = SYSCALLS.getStreamFromFD(fd);
var newStream = SYSCALLS.getStreamFromFD(fd);
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be getStreamFromFD(to) ?

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