diff options
author | Niklas Haas <git@haasn.xyz> | 2018-10-31 05:34:21 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2018-10-31 09:20:44 +0100 |
commit | 880c59d1890286899a49be8c743f23889c42e137 (patch) | |
tree | b4ba9c58f1e8805413af78c834bff66701c44c96 /video/image_loader.h | |
parent | 6f0ed8e0b2605475850d85608bfa4bbe1bb38a0b (diff) | |
download | mpv-880c59d1890286899a49be8c743f23889c42e137.tar.bz2 mpv-880c59d1890286899a49be8c743f23889c42e137.tar.xz |
ipc-unix: don't blow up on readonly fd://
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`.
Diffstat (limited to 'video/image_loader.h')
0 files changed, 0 insertions, 0 deletions