You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
421 B

diff -u -r ../tmux-2.4/compat/imsg.c ./compat/imsg.c
--- ../tmux-2.4/compat/imsg.c 2017-04-19 14:49:29.000000000 +0200
+++ ./compat/imsg.c 2017-04-22 02:21:48.592932564 +0200
@@ -73,7 +73,7 @@
again:
if (getdtablecount() + imsg_fd_overhead +
(int)((CMSG_SPACE(sizeof(int))-CMSG_SPACE(0))/sizeof(int))
- >= getdtablesize()) {
+ >= sysconf(_SC_OPEN_MAX)) {
errno = EAGAIN;
free(ifd);
return (-1);