bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error in pipe implementation?


From: Fabian Sturm
Subject: Re: error in pipe implementation?
Date: Fri, 20 Jul 2001 20:11:45 +0200
User-agent: Mutt/1.2.5i

Hello!

On Fri, Jul 20, 2001 at 02:28:07PM +0200, Marcus Brinkmann wrote:
> 
> I think you found a bug.  What you describe is repeated in the C lib info
> doc, clear as water.  Raising SIGPIPE on read is definitely bad, if we do
> this, we have a bug.

No sorry you misunderstood me. We dont get a SIGPIPE on read.
We get a SIGPIPE on write. That would be okay if we write to a pipe
without an open read end. But we write to the "read file deskriptor"
(the wrong end of the pipe) fd[0] and this should return a EBADF or 
something similar.

> Here are some pointers for your code digging:

Thanks i will try to figure out the relevant code.
Dont expect much its the first time i dig into hurd.

Fabian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]