mpv/osdep
James Ross-Gowan 257a2b9646 win32: add more-POSIXy versions of open() and fstat()
Directory-opening never worked on Windows because MSVCRT's open()
doesn't open directories and its fstat() doesn't recognise directory
handles. These are just MSVCRT restrictions, and the Windows API itself
has no problem with opening directories as file objects, so reimplement
mpv's mp_open and mp_stat to use the Windows API directly. This should
fix directory playback.

This also populates the st_dev and st_ino fields of struct stat, so
filesystem loop checking in demux_playlist.c should now work on Windows.

Fixes #4711
2017-10-25 22:37:20 +11:00
..
android android: posix_spawn(p) replacement 2017-09-22 09:24:19 +02:00
ar
win32
atomic.h
compiler.h
endian.h
glob-win.c
io.c win32: add more-POSIXy versions of open() and fstat() 2017-10-25 22:37:20 +11:00
io.h win32: add more-POSIXy versions of open() and fstat() 2017-10-25 22:37:20 +11:00
macosx_application.h
macosx_application.m osx: add right MacPorts paths to our bundle $PATH 2017-10-07 22:18:22 +02:00
macosx_application_objc.h
macosx_compat.h
macosx_events.h
macosx_events.m osx: fix media keys input when other Apps steal the priority 2017-09-07 20:42:26 +02:00
macosx_events_objc.h osx: fix media keys input when other Apps steal the priority 2017-09-07 20:42:26 +02:00
macosx_menubar.h
macosx_menubar.m
macosx_menubar_objc.h
macosx_touchbar.h
macosx_touchbar.m
macosx_versions.h
main-fn-cocoa.c
main-fn-unix.c
main-fn-win.c
main-fn.h
mpv.exe.manifest
mpv.rc
path-macosx.m osx: fix bundle on macOS High Sierra (10.13) 2017-10-03 11:30:56 +02:00
path-unix.c
path-uwp.c
path-win.c
path.h
posix-spawn.h android: posix_spawn(p) replacement 2017-09-22 09:24:19 +02:00
semaphore.h
semaphore_osx.c
strnlen.h
subprocess-dummy.c
subprocess-posix.c android: posix_spawn(p) replacement 2017-09-22 09:24:19 +02:00
subprocess-win.c
subprocess.c
subprocess.h
terminal-dummy.c
terminal-unix.c
terminal-win.c
terminal.h
threads.c
threads.h
timer-darwin.c
timer-linux.c
timer-win2.c
timer.c
timer.h
w32_keyboard.c
w32_keyboard.h
win32-console-wrapper.c
windows_utils.c
windows_utils.h