Browse Source

rebase the imsg patch

OPENBSD_5_8
Brent Cook 9 years ago
parent
commit
4d333bee2d
1 changed files with 5 additions and 7 deletions
  1. +5
    -7
      patches/patch-imsg.c

+ 5
- 7
patches/patch-imsg.c View File

@ -1,6 +1,6 @@
--- imsg.orig 2014-12-28 13:24:02.771330936 -0600
+++ imsg.c 2014-12-28 13:24:35.347331642 -0600
@@ -70,6 +70,7 @@
--- imsg.c.orig 2015-07-17 23:57:48.000000000 +0000
+++ imsg.c 2015-07-17 23:58:57.000000000 +0000
@@ -71,6 +71,7 @@
return (-1);
again:
@ -8,13 +8,11 @@
if (getdtablecount() + imsg_fd_overhead +
(CMSG_SPACE(sizeof(int))-CMSG_SPACE(0))/sizeof(int)
>= getdtablesize()) {
@@ -77,7 +78,8 @@
@@ -78,6 +79,7 @@
free(ifd);
return (-1);
}
-
+#endif
+
if ((n = recvmsg(ibuf->fd, &msg, 0)) == -1) {
if (errno == EMSGSIZE)
goto fail;

Loading…
Cancel
Save