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

Alan Modra amodra@gmail.com
Thu Mar 3 22:25:00 GMT 2011


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



More information about the Gdb-patches mailing list