[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #41907] Opening pipes RW with bash is blocking
From: |
Victor Berger |
Subject: |
[bug #41907] Opening pipes RW with bash is blocking |
Date: |
Wed, 19 Mar 2014 15:32:23 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 |
URL:
<http://savannah.gnu.org/bugs/?41907>
Summary: Opening pipes RW with bash is blocking
Project: The GNU Hurd
Submitted by: levans
Submitted on: mer. 19 mars 2014 15:32:22 GMT
Category: Hurd Servers
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Standard Compliance
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Reproducibility: Every Time
Size (loc): None
Planned Release: None
Effort: 0.00
Wiki-like text discussion box:
_______________________________________________________
Details:
In a bash shell, creating a fifo and opening it as a file descriptor for both
reading and writing like this :
mkfifo foo
exec 11<>foo
Hangs forever, and killing the call with ^C writes a "broken pipe" error.
On a Linux system, running something like
mkfifo foo
exec 11<>foo
echo "bar" >&11
cat <&11
works as expected, but this does not seem to be specified by POSIX (opening a
pipe for both read and write is undefined behaviour).
Is making this call blocking a Hurd choice, or a bug ?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41907>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [bug #41907] Opening pipes RW with bash is blocking,
Victor Berger <=