This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Hi Miachael,

Alan Modra wrote:
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.

Err, can I leave that to you?

Oops - I should have read all my emails first...





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]