Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86935 Details for
Bug 133628
2.1_rc1-r2 prepstrip gets path wrong for split-debug files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove '+1' from ${x:${#D}+1}, and -print0 => -print so the bash for loop works.
prepstrp-3367-splitdebugpath.diff (text/plain), 1.07 KB, created by
Kevin F. Quinn (RETIRED)
on 2006-05-17 12:10:29 UTC
(
hide
)
Description:
Remove '+1' from ${x:${#D}+1}, and -print0 => -print so the bash for loop works.
Filename:
MIME Type:
Creator:
Kevin F. Quinn (RETIRED)
Created:
2006-05-17 12:10:29 UTC
Size:
1.07 KB
patch
obsolete
>Index: prepstrip >=================================================================== >--- prepstrip (revision 3367) >+++ prepstrip (working copy) >@@ -22,7 +22,7 @@ > > save_elf_debug() { > local x=$1 >- local y="${D}usr/lib/debug/${x:${#D}+1}.debug" >+ local y="${D}usr/lib/debug/${x:${#D}}.debug" > > hasq splitdebug ${FEATURES} || return 0 > >@@ -45,7 +45,7 @@ > fi > } > >-for x in $(scanelf -yRBF%F "$@") $(for y in "$@"; do find "${y}" -type f -name '*.a' -print0 ; done); do >+for x in $(scanelf -yRBF%F "$@") $(for y in "$@"; do find "${y}" -type f -name '*.a' -print ; done); do > if [[ ${banner} -eq 1 ]] ; then > vecho "strip: ${STRIP} ${PORTAGE_STRIP_FLAGS}" > banner=0 >@@ -65,11 +65,11 @@ > set +o noglob > > if [[ ${f} == *"current ar archive"* ]] ; then >- vecho " ${x:${#D}+1}" >+ vecho " ${x:${#D}}" > [[ ${stripitbaby} -eq 1 ]] && ${STRIP} -g "${x}" > fi > if [[ ${f} == *"SB executable"* || ${f} == *"SB shared object"* ]] ; then >- vecho " ${x:${#D}+1}" >+ vecho " ${x:${#D}}" > save_elf_debug "${x}" > [[ ${stripitbaby} -eq 1 ]] && ${STRIP} ${PORTAGE_STRIP_FLAGS} "${x}" > 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 133628
: 86935