Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 332710 Details for
Bug 447810
FreeBSD: open() on a fifo can fail with -EINTR even when using SA_RESTART (app-shells/bash sometimes fails `read`)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for sys-apps/portage-2.2.0_alpha149
portage-2.2-BSD.patch (text/plain), 1.96 KB, created by
Yuta SATOH
on 2012-12-19 12:36:24 UTC
(
hide
)
Description:
sample patch for sys-apps/portage-2.2.0_alpha149
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2012-12-19 12:36:24 UTC
Size:
1.96 KB
patch
obsolete
>diff -Nur portage-2.2.0_alpha142.orig/bin/ebuild-helpers/ecompressdir portage-2.2.0_alpha142/bin/ebuild-helpers/ecompressdir >--- portage-2.2.0_alpha142.orig/bin/ebuild-helpers/ecompressdir 2012-10-27 02:45:54.000000000 +0900 >+++ portage-2.2.0_alpha142/bin/ebuild-helpers/ecompressdir 2012-12-19 21:25:47.000000000 +0900 >@@ -67,6 +67,7 @@ > find "${dir}" -type f ${negate} -iname '*'${suffix} -print0 | ${XARGS} -0 ${binary} > ((ret|=$?)) > >+ (find "${dir}" -type l -print0) > "${T}"/ecompress-filelist > while read -r -d $'\0' brokenlink ; do > [[ -e ${brokenlink} ]] && continue > olddest=$(readlink "${brokenlink}") >@@ -97,7 +98,8 @@ > && ln -snf "${newdest}" "${brokenlink}${suffix}" \ > || ln -snf "${newdest}" "${brokenlink%${suffix}}" > ((ret|=$?)) >- done < <(find "${dir}" -type l -print0) >+ done < "${T}"/ecompress-filelist >+ rm "${T}"/ecompress-filelist > return ${ret} > } > >diff -Nur portage-2.2.0_alpha142.orig/bin/ebuild-helpers/prepstrip portage-2.2.0_alpha142/bin/ebuild-helpers/prepstrip >--- portage-2.2.0_alpha142.orig/bin/ebuild-helpers/prepstrip 2012-12-19 21:25:22.000000000 +0900 >+++ portage-2.2.0_alpha142/bin/ebuild-helpers/prepstrip 2012-12-19 21:25:45.000000000 +0900 >@@ -276,17 +276,16 @@ > else > get_inode_number() { stat -c '%i' "$1"; } > fi >+# Use sort -u to eliminate duplicates for bug #445336. >+(scanelf -yqRBF '#k%F' -k '.symtab' "$@" >+ find "$@" -type f ! -type l -name '*.a' ) | LC_ALL=C sort -u > ${tmpdir}/filelist >+ > cd "${tmpdir}/inodes" || die "cd failed unexpectedly" > while read -r x ; do > inode_link=$(get_inode_number "${x}") || die "stat failed unexpectedly" > echo "${x}" >> "${inode_link}" || die "echo failed unexpectedly" >-done < <( >- # Use sort -u to eliminate duplicates for bug #445336. >- ( >- scanelf -yqRBF '#k%F' -k '.symtab' "$@" >- find "$@" -type f ! -type l -name '*.a' >- ) | LC_ALL=C sort -u >-) >+done < ${tmpdir}/filelist >+rm ${tmpdir}/filelist > > # Now we look for unstripped binaries. > for inode_link in $(shopt -s nullglob; echo *) ; do
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 447810
:
332708
|
332710
|
332910
|
333210
|
335664
|
336266
|
336270