From e22b771ff841f7afa91128ed0a1d79aa3e2bc429 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 19 Feb 2020 20:38:12 +0100 Subject: 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. --- input/ipc-unix.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'input') diff --git a/input/ipc-unix.c b/input/ipc-unix.c index bfd035298c..ef478ba35e 100644 --- a/input/ipc-unix.c +++ b/input/ipc-unix.c @@ -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) { -- cgit v1.2.3