mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 01:52:19 +00:00
build: remove fchmod() check
This is UNIX-only code, and this function has been in POSIX since forever. Even Android has it. The test should be unnecessary, so remove it.
This commit is contained in:
parent
6d8b4ca742
commit
e22b771ff8
@ -314,9 +314,7 @@ static void *ipc_thread(void *p)
|
||||
goto done;
|
||||
}
|
||||
|
||||
#if HAVE_FCHMOD
|
||||
fchmod(ipc_fd, 0600);
|
||||
#endif
|
||||
|
||||
size_t path_len = strlen(arg->path);
|
||||
if (path_len >= sizeof(ipc_un.sun_path) - 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user