Przeglądaj źródła

dpkg: Make the initial dependtry be 1 instead of 0

This gets rid of an unused dependtry step, which got accidentally
introduced when the perl dpkg was rewritten in C, ages ago.
Guillem Jover 11 lat temu
rodzic
commit
9ee62ecfc8
2 zmienionych plików z 4 dodań i 1 usunięć
  1. 3 0
      debian/changelog
  2. 1 1
      src/packages.c

+ 3 - 0
debian/changelog

@@ -6,6 +6,9 @@ dpkg (1.17.20) UNRELEASED; urgency=low
     progress for a while. Regression stemming from non future proof changes
     progress for a while. Regression stemming from non future proof changes
     introduced with the initial triggers implementation in dpkg 1.14.17
     introduced with the initial triggers implementation in dpkg 1.14.17
     combined with changes in dpkg 1.17.19. Closes: #766242, #766322
     combined with changes in dpkg 1.17.19. Closes: #766242, #766322
+  * Make the initial dependtry be 1 instead of 0. This gets rid of an unused
+    dependtry step, which got accidentally introduced when the perl dpkg was
+    rewritten in C, ages ago.
 
 
   [ Updated programs translations ]
   [ Updated programs translations ]
   * German (Sven Joachim).
   * German (Sven Joachim).

+ 1 - 1
src/packages.c

@@ -51,7 +51,7 @@
 static struct pkginfo *progress_bytrigproc;
 static struct pkginfo *progress_bytrigproc;
 static struct pkg_queue queue = PKG_QUEUE_INIT;
 static struct pkg_queue queue = PKG_QUEUE_INIT;
 
 
-int sincenothing = 0, dependtry = 0;
+int sincenothing = 0, dependtry = 1;
 
 
 void
 void
 enqueue_package(struct pkginfo *pkg)
 enqueue_package(struct pkginfo *pkg)