Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
>>> os.dup2(-1, 0)Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: [Errno 0] ErrorThe bug is caused by the old manual sign check that at some point lost the part that seterrno:
Lines 9832 to 9834 inc3a1783
| if (fd<0||fd2<0) { | |
| posix_error(); | |
| return-1; |
I'm going to submit a PR with the fix.