From: Roland McGrath Date: Mon, 15 Feb 1999 16:11:21 +0000 (+0000) Subject: 1999-02-10 Roland McGrath X-Git-Tag: cvs/libc-as-990315~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cfcf323d337333428c2fafb19ef4dd5124d05c9a;p=platform%2Fupstream%2Fglibc.git 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. --- 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);