if ($#libpaths >= 0) {
grep(s/\[\?\*/\\$&/g, @libpaths);
defined($c= open(P,"-|")) || syserr("cannot fork for dpkg --search");
-<<<<<<< dpkg-shlibdeps.pl
- if (!$c) {
- close STDERR; # we don't need to see dpkg's errors
- open STDERR, "> /dev/null";
- exec("dpkg","--search","--",@libpaths); syserr("cannot exec dpkg");
- }
-=======
if (!$c) { exec("dpkg","--search","--",@libpaths); syserr("cannot exec dpkg"); }
->>>>>>> 1.5
while (<P>) {
s/\n$//;
if (m/^local diversion |^diversion by/) {