coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] tail: avoid misleading diagnostic upon fstat failure


From: Pádraig Brady
Subject: Re: [PATCH] tail: avoid misleading diagnostic upon fstat failure
Date: Thu, 26 Jul 2012 12:07:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

On 07/26/2012 11:38 AM, Jim Meyering wrote:
> FYI.  This bug seems hard enough to trigger and low enough
> impact that the fix does not deserve an entry in NEWS.
> Provoking the failure might be tricky, since in addition to
> causing fstat failure, you'd have to make the intervening
> close (via close_fd) clobber errno, probably via EINTR or EIO.
> Not worth trying to write a test, IMHO.

Agreed on the test not being warranted.
Good spot.

cheers,
Pádraig.



reply via email to

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