Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 113593 Details for
Bug 171259
vercomp() assumption on "_suffix == _suffix0" is broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
portage_versions_fix3.patch
portage_versions_fix3.patch (text/plain), 713 bytes, created by
TGL
on 2007-03-17 17:57:28 UTC
(
hide
)
Description:
portage_versions_fix3.patch
Filename:
MIME Type:
Creator:
TGL
Created:
2007-03-17 17:57:28 UTC
Size:
713 bytes
patch
obsolete
>--- portage_versions.py.orig 2007-03-17 14:20:36.000000000 +0100 >+++ portage_versions.py 2007-03-17 18:48:17.000000000 +0100 >@@ -124,11 +124,11 @@ > > for i in range(0, max(len(list1), len(list2))): > if len(list1) <= i: >- s1 = ("p","0") >+ s1 = ("p","-1") > else: > s1 = suffix_regexp.match(list1[i]).groups() > if len(list2) <= i: >- s2 = ("p","0") >+ s2 = ("p","-1") > else: > s2 = suffix_regexp.match(list2[i]).groups() > if s1[0] != s2[0]: >@@ -140,7 +140,8 @@ > except ValueError: r1 = 0 > try: r2 = int(s2[1]) > except ValueError: r2 = 0 >- return r1 - r2 >+ if (r1 - r2): >+ return r1 - r2 > > # the suffix part is equal to, so finally check the revision > if match1.group(10):
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 171259
:
113571
|
113572
| 113593