On Thu, Oct 02, 2008 at 04:40:05PM +0200, Jean-Marc Lasgouttes wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > I admit that the code is not very clear as the test on errno should > > only be performed if read() returns -1. So, I would rather propose > > the attached patch. > > I think your patch is the right one. I'll wait until Günter can test it.
Please, go ahead and apply, as I could reproduce the bug and confirm that the patch solves it. -- Enrico