summaryrefslogtreecommitdiffstats
path: root/mpv_talloc.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-10-14 17:10:17 -0600
committerwm4 <wm4@nowhere>2016-10-14 17:19:47 -0600
commita049a3240e7e09ac0640a00c8845cd5b97cd5aff (patch)
tree1e8b416469c136c63bd1f25e358aad242ff2609a /mpv_talloc.h
parent0af8811b15f25304ef04013b630ac324011144c0 (diff)
downloadmpv-a049a3240e7e09ac0640a00c8845cd5b97cd5aff.tar.bz2
mpv-a049a3240e7e09ac0640a00c8845cd5b97cd5aff.tar.xz
stream_file: don't use poll() on directories
POSIX leaves poll() behavior on directories unspecified. While on Linux, it seems to behave the same way as regular files (always return immediately), this is not guaranteed. At least with OSX 10.12, it seems to wait, which essentially means that opening directories will "hang". Fixes #3530 and #3649.
Diffstat (limited to 'mpv_talloc.h')
0 files changed, 0 insertions, 0 deletions