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/


Reply via email to