Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 208846 Details for
Bug 291271
=sys-apps/portage-2.2_rc47 fails on installing packages from "new" categories
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
only_bump_mtime_when_dir_exists
portage-crash-new-cat.patch (text/plain), 776 bytes, created by
Fabian Groffen
on 2009-10-31 11:35:22 UTC
(
hide
)
Description:
only_bump_mtime_when_dir_exists
Filename:
MIME Type:
Creator:
Fabian Groffen
Created:
2009-10-31 11:35:22 UTC
Size:
776 bytes
patch
obsolete
>Index: pym/portage/dbapi/vartree.py >=================================================================== >--- pym/portage/dbapi/vartree.py (revision 14747) >+++ pym/portage/dbapi/vartree.py (working copy) >@@ -1819,13 +1819,14 @@ > This is called before an after any modifications, so that consumers > can use directory mtimes to validate caches. See bug #290428. > """ >- base = self.root + _os.sep + VDB_PATH >+ base = os.path.join(self.root, VDB_PATH) > cat = catsplit(cpv)[0] >- catdir = base + _os.sep + cat >+ catdir = os.path.join(base, cat) > t = time.time() > t = (t, t) > for x in (catdir, base): >- os.utime(x, t) >+ if os.path.lexists(x): >+ os.utime(x, t) > > def cpv_exists(self, mykey): > "Tells us whether an actual ebuild exists on disk (no masking)"
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 291271
:
208835
| 208846