site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Mutt/1.4.2.1i On Wed, Sep 28, 2005 at 10:51:53PM +0100, Dair Grant wrote:
We've also run into this issue, and found it a little bizarre that simply copying a .a file around can "break" it by virtue of bumping its mod date...
Our evil workaround, which really requires cvs, is to run ranlib prior to check in and then to hack the ,v file by hand to modify the check in date for that revision. I.e., run ranlib to insert the current time (22:43) into the .a file, check it in, and edit the ,v file to rewind the check in time to 22:30.
Provided your cvs client sets the local mod time to match the check in time when checking out, after check out the mod time will be earlier than the "ranlib time" and so the library remains linkable.
It is gruesome, but means we can keep 3rd party Mach-O libs under revision control the same way we keep CW/VC++ libs.
Wow, that *is* evil! :) I use ClearCase here, so that particular evil won't work for me, but I want to avoid going down the road of evil hacks. I filed my patch as Radar bug # 4278062, so hopefully these hacks won't be needed in future. -- Craig Rodrigues rodrigc@crodrigues.org _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com