Commit 9dad34c
committed
pythongh-124621: Emscripten: Fix __syscall_ioctl patch
If there is an error, we have to return `-errno` not positive errno.
Included in backport of pythonGH-136931: python#1369881 parent c933a6b commit 9dad34c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| |||
0 commit comments