mirror of https://github.com/mpv-player/mpv
880c59d189
On my system, when trying to use mpv with a read-only fd created by python 3.7, `send` triggers ENOTSOCK, not EBADF. Extend the logic to detect non-writable fds by this `errno`. |
||
---|---|---|
.. | ||
cmd.c | ||
cmd.h | ||
event.c | ||
event.h | ||
input.c | ||
input.h | ||
ipc-dummy.c | ||
ipc-unix.c | ||
ipc-win.c | ||
ipc.c | ||
keycodes.c | ||
keycodes.h | ||
pipe-win32.c |