mpv/waftools
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
..
checks wayland_common: rewrite from scratch 2017-10-03 19:36:02 +01:00
detections win32: add more-POSIXy versions of open() and fstat() 2017-10-25 22:37:20 +11:00
fragments vd_lavc: cuda requires setting hw_device_ctx 2017-09-26 23:20:20 +02:00
generators wayland_common: rewrite from scratch 2017-10-03 19:36:02 +01:00
__init__.py
clang_compilation_database.py
dependencies.py build: use unified dependency expressions instead of weird fields 2017-09-18 22:35:37 +02:00
deps_parser.py build: remove some dead code 2017-09-19 18:37:11 +02:00
features.py
inflector.py
syms.py build: fix build for waf 2.0 2017-09-22 09:14:37 +02:00
waf_customizations.py waf: fix linking of win32 console wrapper 2017-02-19 03:34:27 +00:00