prepstrip: add comment for bug #445336 v2.2.0_alpha144
authorZac Medico <zmedico@gentoo.org>
Sat, 1 Dec 2012 21:41:37 +0000 (13:41 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 1 Dec 2012 21:41:37 +0000 (13:41 -0800)
bin/ebuild-helpers/prepstrip

index 99acefb794101ebb9e6f73586f724847fb7b3aa9..dd880527758a26de3ea3ac4aad31a73855be6d16 100755 (executable)
@@ -247,6 +247,7 @@ 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'