]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-124621: Emscripten: Fix __syscall_ioctl patch (GH-136993)
authorHood Chatham <roberthoodchatham@gmail.com>
Tue, 22 Jul 2025 13:05:26 +0000 (15:05 +0200)
committerGitHub <noreply@github.com>
Tue, 22 Jul 2025 13:05:26 +0000 (15:05 +0200)
commit12d2f373b9f70ce43a985ada2832ca31ca66fc20
tree83558025739d28464840317d39194d7510af75dd
parentaafbdb5df5439adc1106ced068cf87683ae68b9e
gh-124621: Emscripten: Fix __syscall_ioctl patch (GH-136993)

If there is an error, we have to return `-errno` not positive errno.
Included in backport of GH-136931: #136988
Python/emscripten_syscalls.c