summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--input/ipc-unix.c2
-rw-r--r--wscript4
2 files changed, 0 insertions, 6 deletions
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
@@ -282,10 +282,6 @@ iconv support use --disable-iconv.",
'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',
'func': check_statement(['sys/vt.h', 'sys/ioctl.h'],