Forráskód Böngészése

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).
Modestas Vainius 16 éve
szülő
commit
6395b7668b
1 módosított fájl, 1 hozzáadás és 3 törlés
  1. 1 3
      scripts/Dpkg/Shlibs/Cppfilt.pm

+ 1 - 3
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};