vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Sep 21 12:12:54 2019 +0300| [50e9468694dd9bb0e3e09bf4b142a07940ea5eca] | committer: Rémi Denis-Courmont
posix: openat() is always present Remove now dead conditional code. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=50e9468694dd9bb0e3e09bf4b142a07940ea5eca --- src/posix/filesystem.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/posix/filesystem.c b/src/posix/filesystem.c index e63a921d66..3f94b76f92 100644 --- a/src/posix/filesystem.c +++ b/src/posix/filesystem.c @@ -75,15 +75,7 @@ int vlc_openat (int dir, const char *filename, int flags, ...) mode = va_arg (ap, unsigned int); va_end (ap); -#ifdef HAVE_OPENAT return openat(dir, filename, flags | O_CLOEXEC, mode); -#else - VLC_UNUSED (dir); - VLC_UNUSED (filename); - VLC_UNUSED (mode); - errno = ENOSYS; - return -1; -#endif } #ifdef HAVE_MKOSTEMP _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
