bug-binutils
[Top][All Lists]
Advanced

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

Re: [RFA] archive.c, bsd_write_armap, fail if stat fails


From: Alan Modra
Subject: Re: [RFA] archive.c, bsd_write_armap, fail if stat fails
Date: Fri, 4 Mar 2011 08:55:06 +1030
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Mar 03, 2011 at 10:46:09AM -0800, Michael Snyder wrote:
>       * archive.c (bsd_write_armap): Fail if stat fails.

I think it would be better to just set the timestamp to zero if stat
fails.  There is precedent for this, eg. opncls.c:_maybe_make_executable.

-- 
Alan Modra
Australia Development Lab, IBM



reply via email to

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