[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] SA_RESTART, perhaps?
From: |
Kevin Fox |
Subject: |
Re: [Bug-tar] SA_RESTART, perhaps? |
Date: |
Tue, 27 Sep 2011 13:40:25 -0700 |
On Tue, 2011-09-27 at 13:37 -0700, Paul Eggert wrote:
> On 09/27/11 13:35, Kevin Fox wrote:
> > As far as I can figure, partial read is an integral part of the read
> > api. You can't disable enough stuff so that it doesn't ever happen.
>
> The SA_RESTART fix isn't intended to work around the
> partial-read problem; it's intended to work around the
> "we've got to check for EINTR everywhere" problem.
Then, like I said in the email you are responding to here, you don't
need that patch at all since the code already handles that case, without
the patch. See gnu/safe-read.c:72
Thanks,
Kevin