Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 188763 Details for
Bug 266493
[patch] vercmp in sys-apps/portage-2.2_rc30 and earlier can return long
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
simplify pkgcmp
portage_simplify_pkgcmp.patch (text/plain), 452 bytes, created by
Douglas Anderson
on 2009-04-18 02:16:06 UTC
(
hide
)
Description:
simplify pkgcmp
Filename:
MIME Type:
Creator:
Douglas Anderson
Created:
2009-04-18 02:16:06 UTC
Size:
452 bytes
patch
obsolete
>Index: versions.py >=================================================================== >--- versions.py (revision 13353) >+++ versions.py (working copy) >@@ -203,14 +203,7 @@ > """ > if pkg1[0] != pkg2[0]: > return None >- mycmp = vercmp("-".join(pkg1[1:]), "-".join(pkg2[1:])) >- if mycmp is None: >- return mycmp >- if mycmp > 0: >- return 1 >- if mycmp < 0: >- return -1 >- return 0 >+ return vercmp("-".join(pkg1[1:]), "-".join(pkg2[1:])) > > > pkgcache={}
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 266493
:
188656
| 188763