Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 37915 Details for
Bug 58848
.a files and incorrect ar mtimes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ranlib-hack.patch
ranlib-hack.patch (text/plain), 949 bytes, created by
Brian Harring (RETIRED)
on 2004-08-22 01:39:57 UTC
(
hide
)
Description:
ranlib-hack.patch
Filename:
MIME Type:
Creator:
Brian Harring (RETIRED)
Created:
2004-08-22 01:39:57 UTC
Size:
949 bytes
patch
obsolete
>diff -urN portage-2.0.51_pre20-orig/pym/portage.py portage-2.0.51_pre20/pym/portage.py >--- portage-2.0.51_pre20-orig/pym/portage.py 2004-08-16 20:15:02.000000000 -0500 >+++ portage-2.0.51_pre20/pym/portage.py 2004-08-22 03:33:46.032082336 -0500 >@@ -6644,6 +6644,17 @@ > # old package won't yank the file with it. (non-cfgprot related) > os.utime(myrealdest,(thismtime,thismtime)) > zing="---" >+ #alright, we've fooled w/ mytime. need to update ar toc mtime's. >+ if self.settings["ARCH"] == "macos" and myrealdest[-2:] == ".a": >+ # insert the new mtime into the ar toc. >+ print "updating toc of %s" % myrealdest >+ myf=open(myrealdest,"a") >+ myf.seek(24,0) >+ myf.write(str(thismtime)) >+ myf.close() >+ os.utime(myrealdest,(thismtime,thismtime)) >+ mymd5=portage_md5.perform_md5(myrealdest) >+ > if mymtime!=None: > zing=">>>" > outfile.write("obj "+myrealdest+" "+mymd5+" "+str(mymtime)+"\n")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 58848
:
37915
|
37928
|
37934