Skip to content

Conversation

@vargaz
Copy link
Contributor

@vargaz vargaz commented Jun 23, 2020

Fixes #38164.

@hoyosjs hoyosjs added arch-wasm WebAssembly architecture area-VM-meta-mono and removed area-VM-coreclr labels Jun 23, 2020

ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count);

ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is it done here and not at a higher level with better exception type and less code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are libc stubs they should error out instead of asserting.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah I agree.

@akoeplinger akoeplinger merged commit 178176b into dotnet:master Jun 23, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-VM-meta-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[WASM] Environment.UserName raises "not supported" exception

6 participants