Prechádzať zdrojové kódy

dpkg-shlibdeps need not care about the dpkg --search exitcode

Wichert Akkerman 25 rokov pred
rodič
commit
9be2da9089
3 zmenil súbory, kde vykonal 10 pridanie a 6 odobranie
  1. 7 5
      ChangeLog
  2. 2 0
      debian/changelog
  3. 1 1
      scripts/dpkg-shlibdeps.pl

+ 7 - 5
ChangeLog

@@ -1,11 +1,13 @@
-Fri Apr 27 13:14:04 CDT 2001 Adam Heath <doogie@debian.org>
+Sat Apr 28 02:52:56 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
 
-  * lib/parse.c, debian/changelog: Fix a segfault when reading an empty
-    file in parsedb().
+  * scripts/dpkg-shlibdeps.pl: do not care if dpkg --search returns
+    with an error: it will do that know if we search for something
+    that is not installed which is a valid case for us.
 
-Fri Apr 27 07:39:00 CEST 2001 peter karlsson <peterk@debian.org>
+Fri Apr 27 13:14:04 CDT 2001 Adam Heath <doogie@debian.org>
 
-  * doc/sv/dpkg.8: Updated to mtach main/dpkg.8 1.25.
+  * lib/parse.c, debian/changelog: Fix a segfault when reading an empty
+    file in parsedb(), imported from head.
 
 Thu Apr 26 13:15:02 CDT 2001 Adam Heath <doogie@debian.org>
 

+ 2 - 0
debian/changelog

@@ -2,6 +2,8 @@ dpkg (1.9.1) unstable; urgency=low
 
   * Fix segfault with empty status and available, and when missing a
     trailing new line.  Closes: #95496
+  * Make dpkg-shlibdeps not care if dpkg --search return with an error.
+    Closes: Bug#95568
 
  -- Wichert Akkerman <wakkerma@debian.org>  UNRELEASED
 

+ 1 - 1
scripts/dpkg-shlibdeps.pl

@@ -201,7 +201,7 @@ if ($#libfiles >= 0) {
            &warn("unknown output from dpkg --search: \`$_'");
        }
     }
-    close(P); $? && subprocerr("dpkg --search");
+    close(P); 
 }
 
 LIB: for ($i=0;$i<=$#libname;$i++) {