tech-toolchain archive

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

Re: ar "zero" flag



On Mon, Aug 04, 2008 at 07:30:11PM -0400, Perry E. Metzger wrote:
> Several people, including cgd, have independently suggested that a
> flag to ar that said "zeroize the time, uid, etc., on packing" would
> be appropriate.

I don't like it as it removes any knowledge when a file was build.
It doesn't matter for updates as long as the content didn't change, but
removing it completely is bad.

I still believe just special casing ar(1)chives and compare the content
is better. This has the additional advantage of not depending on the
order of files in it. Given that the object files are sorted
topological, this is not really as strict as would be assumed by this.

Joerg


Home | Main Index | Thread Index | Old Index