Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 38386 Details for
Bug 61496
Deeptest broken in app-portage/mirrorselect-0.85
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
mirrorselect.diff (text/plain), 1013 bytes, created by
Laurence Withers
on 2004-08-28 06:21:02 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Laurence Withers
Created:
2004-08-28 06:21:02 UTC
Size:
1013 bytes
patch
obsolete
>--- mirrorselect.old 2004-08-28 14:13:34.956854742 +0100 >+++ mirrorselect 2004-08-28 14:14:16.853514977 +0100 >@@ -177,6 +177,7 @@ > > echo "Downloading 100k segments from ${COUNT} server(s)" >&2 > TMPFILE="$(mktemp -p /tmp mirrorselect-deep-XXXXXX)" >+ TMPFILEB="$(mktemp -p /tmp mirrorselect-deep-XXXXXX)" > > YCOUNT=0 > for i in ${CHECKLIST} >@@ -187,12 +188,12 @@ > STIME=$(date +%s%N) > wget -t 1 -C off -T 25 -O - ${i}/distfiles/mirrorselect-test 2>/dev/null > ETIME=$(date +%s%N) >- [ $? == 0 ] && $(echo "$((${ETIME}-${STIME})) ${i}" >> ${TMPFILE}) >+ [ $? == 0 ] && $(echo "$((${ETIME}-${STIME})) ${i}" >> ${TMPFILEB}) > done > echo "Sorting by speed " >&2 >- MIRRORS="$(sort -g < ${TMPFILE} | awk '{ print $2 }' | head -n ${SERVERS})" >+ MIRRORS="$(sort -g < ${TMPFILEB} | awk '{ print $2 }' | head -n ${SERVERS})" > echo "Cleaning temporary files" >&2 >- $(rm -Rf ${TMPFILE}) >+ $(rm -Rf ${TMPFILE} ${TMPFILEB}) > fi > } >
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 61496
:
38386
|
38403