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) { diff --git a/wscript b/wscript index b918d7cfc0..7506b1bceb 100644 --- a/wscript +++ b/wscript @@ -281,10 +281,6 @@ iconv support use --disable-iconv.", 'desc': 'any glob() support', 'deps': 'glob-posix || glob-win32', 'func': check_true, - }, { - 'name': 'fchmod', - 'desc': 'fchmod()', - 'func': check_statement('sys/stat.h', 'fchmod(0, 0)'), }, { 'name': 'vt.h', 'desc': 'vt.h',