libhdf5: add package
[termux-packages] / packages / tmux / compat-imsg.c.patch
CommitLineData
e2e96b22
FF
1diff -u -r ../tmux-2.4/compat/imsg.c ./compat/imsg.c
2--- ../tmux-2.4/compat/imsg.c 2017-04-19 14:49:29.000000000 +0200
3+++ ./compat/imsg.c 2017-04-22 02:21:48.592932564 +0200
4@@ -73,7 +73,7 @@
5 again:
6 if (getdtablecount() + imsg_fd_overhead +
7 (int)((CMSG_SPACE(sizeof(int))-CMSG_SPACE(0))/sizeof(int))
8- >= getdtablesize()) {
9+ >= sysconf(_SC_OPEN_MAX)) {
10 errno = EAGAIN;
11 free(ifd);
12 return (-1);