Explorar el Código

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 hace 12 años
padre
commit
9ee62ecfc8
Se han modificado 2 ficheros con 4 adiciones y 1 borrados
  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)