1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Mon, 15 Feb 1999 16:11:21 +0000 (16:11 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 15 Feb 1999 16:11:21 +0000 (16:11 +0000)
* 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

index b430bea..9d62c8c 100644 (file)
@@ -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);