From cfcf323d337333428c2fafb19ef4dd5124d05c9a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 15 Feb 1999 16:11:21 +0000 Subject: [PATCH] 1999-02-10 Roland McGrath * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on the "unused" ends of the sockets. Let pipes be bidirectional. --- sysdeps/mach/hurd/pipe.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sysdeps/mach/hurd/pipe.c b/sysdeps/mach/hurd/pipe.c index b430bea..9d62c8c 100644 --- a/sysdeps/mach/hurd/pipe.c +++ b/sysdeps/mach/hurd/pipe.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1992, 93, 94, 95, 96, 99 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -72,10 +72,6 @@ __pipe (fds) return __hurd_fail (err); } - /* Shut down the unused sides of the sockets. */ - __socket_shutdown (sock1, 1); - __socket_shutdown (sock2, 0); - /* Put the sockets into file descriptors. */ d1 = _hurd_intern_fd (sock1, O_IGNORE_CTTY, 1); -- 2.7.4