[vlc-devel] [PATCH] access directory: try opening files as non blocking (fix #6940).
fatbull at web.de
Fri Jun 15 02:58:02 CEST 2012
>> What if you use O_DIRECTORY instead of O_NONBLOCK?
> That's Linux-specific. If we agree to ignore standards (which seems like the
> only option), then we might as well use O_NONBLOCK, which is probably more
> portable than O_DIRECTORY, and does not require further code changes.
Is this still the case? According to POSIX, O_NONBLOCK is unspecified
for anything except FIFOs and special files, whereas O_DIRECTORY has no
More information about the vlc-devel