The branch, master has been updated
       via  c8b152c2765338343400183d6630687ca98d4fb8 (commit)
      from  c3cc565432ae4edf6a1926dfd13848311605afac (commit)


- Shortlog ------------------------------------------------------------
c8b152c dpkg-shlibdeps: bugfix, avoid unwanted modification of @pkg_shlibs by 
my_find_library

Summary of changes:
 ChangeLog                 |    2 ++
 scripts/dpkg-shlibdeps.pl |    3 ++-
 2 files changed, 4 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit c8b152c2765338343400183d6630687ca98d4fb8
Author: Raphael Hertzog <[EMAIL PROTECTED]>
Date:   Mon Oct 15 14:33:56 2007 +0200

    dpkg-shlibdeps: bugfix, avoid unwanted modification of @pkg_shlibs by 
my_find_library

diff --git a/ChangeLog b/ChangeLog
index 941c39a..1eb1e32 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,8 @@
        * debian/rules: include cputable ostable triplettable in
        build-tree so that they are available during make check (Dpkg.pm
        exports ".." as $pkgdatadir during tests).
+       * scripts/dpkg-shlibdeps.pl: bugfix, avoid unwanted modification
+       of @pkg_shlibs by my_find_library.
 
 2007-10-14  Raphael Hertzog  <[EMAIL PROTECTED]>
 
diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl
index 3196a4f..7f9c381 100755
--- a/scripts/dpkg-shlibdeps.pl
+++ b/scripts/dpkg-shlibdeps.pl
@@ -434,7 +434,8 @@ sub my_find_library {
     # that provides shlibs file...)
     # TODO: we should probably replace that by a cleaner way to look into
     # the various temporary build directories...
-    foreach my $builddir (map { s{/DEBIAN/shlibs$}{}; $_ } @pkg_shlibs) {
+    my @copy = (@pkg_shlibs);
+    foreach my $builddir (map { s{/DEBIAN/shlibs$}{}; $_ } @copy) {
        $file = find_library($lib, [EMAIL PROTECTED], $format, $builddir);
        return $file if defined($file);
     }

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to