The following commit has been merged in the master branch:
commit 6395b7668bdb469efbdb4a54be18f289543779d7
Author: Modestas Vainius <[email protected]>
Date:   Sat Jan 30 00:39:14 2010 +0200

    Dpkg::Shlibs::Cppfilt: do not pass --no-verbose to c++filt(1).
    
    --no-verbose gives some unexpected results, e.g. C++ substitution in
    _ZNSs9_M_mutateEmmm is not expanded according to the spec (i.e.
    std::basic_string<> gets simplified and replaced by std::string).

diff --git a/scripts/Dpkg/Shlibs/Cppfilt.pm b/scripts/Dpkg/Shlibs/Cppfilt.pm
index 80fa287..79d1799 100644
--- a/scripts/Dpkg/Shlibs/Cppfilt.pm
+++ b/scripts/Dpkg/Shlibs/Cppfilt.pm
@@ -40,9 +40,7 @@ sub get_cppfilt {
     } else {
        $filt = { from => undef, to => undef,
                    last_symbol => "", last_result => "" };
-       $filt->{pid} = spawn(exec => [ 'c++filt',
-                                      '--no-verbose',
-                                      "--format=$type" ],
+       $filt->{pid} = spawn(exec => [ 'c++filt', "--format=$type" ],
                             from_pipe => \$filt->{from},
                             to_pipe => \$filt->{to});
        internerr(_g("unable to execute c++filt")) unless defined $filt->{from};

-- 
dpkg's main repository


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

Reply via email to