summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-21 00:33:27 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-21 00:33:27 +0000
commitbfb570a627cb05a2b98b636b79f4db32a0f23f7f (patch)
tree6b12fb33ce6c9db3fe6e599fc5e9c1b17f091e91
parent9059c09ef1e5e71d3b63754bbe1277338070955b (diff)
downloads6-networking-2.0.0.0.tar.xz
Remove the shutdown() in s6-sudoc: the MSG_DONTWAIT support in skalibsv2.0.0.0
should fix the BSD problem in a better fashion.
-rw-r--r--src/conn-tools/s6-sudoc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/conn-tools/s6-sudoc.c b/src/conn-tools/s6-sudoc.c
index 4f03334..823d7cb 100644
--- a/src/conn-tools/s6-sudoc.c
+++ b/src/conn-tools/s6-sudoc.c
@@ -1,7 +1,5 @@
/* ISC license. */
-#include <skalibs/nonposix.h>
-#include <sys/socket.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
@@ -93,7 +91,6 @@ int main (int argc, char const *const *argv, char const *const *envp)
if (!unixmessage_sender_timed_flush_g(&b7, &deadline))
strerr_diefu1sys(111, "send args to server") ;
unixmessage_sender_free(&b7) ;
- shutdown(7, SHUT_WR) ; /* else the BSDs fail the next step for some reason */
{
char c ;
if (buffer_timed_get_g(&b6, &c, 1, &deadline) < 1)