diff options
author | Roland McGrath <roland@gnu.org> | 1999-02-15 16:11:21 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-02-15 16:11:21 +0000 |
commit | cfcf323d337333428c2fafb19ef4dd5124d05c9a (patch) | |
tree | 6ca82f6c947272795deb283505721dd525c46d6f /sysdeps/mach | |
parent | 98ad0700383f05865440206ac5ab3b06aa9797a5 (diff) | |
download | glibc-cfcf323d337333428c2fafb19ef4dd5124d05c9a.tar.gz glibc-cfcf323d337333428c2fafb19ef4dd5124d05c9a.tar.xz glibc-cfcf323d337333428c2fafb19ef4dd5124d05c9a.zip |
1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on the "unused" ends of the sockets. Let pipes be bidirectional.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/pipe.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/pipe.c b/sysdeps/mach/hurd/pipe.c index b430bea3e5..9d62c8ca28 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); |