Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41401 Details for
Bug 37124
>portage-2.0.49-r15 does not sync to IPv6 hosts anymore
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Improved patch
emerge.diff (text/plain), 1.35 KB, created by
Bernhard Schmidt
on 2004-10-08 19:00:00 UTC
(
hide
)
Description:
Improved patch
Filename:
MIME Type:
Creator:
Bernhard Schmidt
Created:
2004-10-08 19:00:00 UTC
Size:
1.35 KB
patch
obsolete
>*** bin/emerge.old Sat Oct 9 01:19:35 2004 >--- bin/emerge Sat Oct 9 03:57:17 2004 >*************** >*** 3,9 **** > # Distributed under the terms of the GNU General Public License v2 > # $Header: /home/cvsroot/gentoo-src/portage/bin/emerge,v 1.264 2004/02/08 21:24:15 nakano Exp $ > >! import os,sys > os.environ["PORTAGE_CALLER"]="emerge" > sys.path = ["/usr/lib/portage/pym"]+sys.path > >--- 3,9 ---- > # Distributed under the terms of the GNU General Public License v2 > # $Header: /home/cvsroot/gentoo-src/portage/bin/emerge,v 1.264 2004/02/08 21:24:15 nakano Exp $ > >! import os,sys,random > os.environ["PORTAGE_CALLER"]="emerge" > sys.path = ["/usr/lib/portage/pym"]+sys.path > >*************** >*** 2080,2086 **** > del ips[0] > if ips==[]: > try: >! ips=socket.gethostbyname_ex(hostname)[2] > except Exception, e: > print "Notice:",str(e) > dosyncuri=syncuri >--- 2080,2094 ---- > del ips[0] > if ips==[]: > try: >! ip6sockets = socket.getaddrinfo(hostname,None,10,socket.SOCK_STREAM) >! random.shuffle(ip6sockets) >! for addrinfo in ip6sockets: >! ips.append('[' + addrinfo[4][0] + ']') >! except Exception, e: >! print "No IPv6 record found, trying IPv4:",str(e) >! >! try: >! ips.extend(socket.gethostbyname_ex(hostname)[2]) > except Exception, e: > print "Notice:",str(e) > dosyncuri=syncuri
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 37124
:
41398
|
41401
|
65574
|
68172
|
91524
|
91544
|
91545
|
91881
|
94424