Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 355544 Details for
Bug 480428
Please make COLLISION_IGNORE apply only to unowned files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
3. Do not limit collision search to 20 files
0003-Don-t-stop-collision-search-after-20-files.patch (text/plain), 1.03 KB, created by
Michał Górny
on 2013-08-09 20:55:20 UTC
(
hide
)
Description:
3. Do not limit collision search to 20 files
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2013-08-09 20:55:20 UTC
Size:
1.03 KB
patch
obsolete
>From 3ea89393e2c9e6bb9d90c0789280ecc7b473c2ba Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Fri, 9 Aug 2013 21:51:38 +0200 >Subject: [PATCH 3/3] Don't stop collision search after 20 files. > >The first 20 files may not give any matches but still one of the later >files may be owned by some package. In this case, FEATURES=protect-owned >wouldn't work properly. > >If we're worried about performance, we should instead stop the search >after matching 20 files. >--- > pym/portage/dbapi/vartree.py | 5 ----- > 1 file changed, 5 deletions(-) > >diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py >index 33d8c95..c7c4f98 100644 >--- a/pym/portage/dbapi/vartree.py >+++ b/pym/portage/dbapi/vartree.py >@@ -3887,11 +3887,6 @@ class dblink(object): > msg.append("") > eerror(msg) > >- if len(collisions) > 20: >- # get_owners is slow for large numbers of files, so >- # don't look them all up. >- collisions = collisions[:20] >- > pkg_info_strs = {} > self.lockdb() > try: >-- >1.8.3.2 >
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 480428
:
355540
|
355542
| 355544