summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-10-22 22:29:21 +0200
committerGuillem Jover <guillem@debian.org>2014-10-23 00:17:40 +0200
commit9ee62ecfc8937f24a82805a424564997042dd984 (patch)
treed2b04dfce3aff666d61452d1439b0f97fb1f4e2d
parentedeed5695089a283a0abffcf0044fc9bf1c3a0b8 (diff)
downloaddpkg-9ee62ecfc8937f24a82805a424564997042dd984.tar.gz
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.
-rw-r--r--debian/changelog3
-rw-r--r--src/packages.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 01419f46b..08b25aec6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,9 @@ dpkg (1.17.20) UNRELEASED; urgency=low
progress for a while. Regression stemming from non future proof changes
introduced with the initial triggers implementation in dpkg 1.14.17
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 ]
* German (Sven Joachim).
diff --git a/src/packages.c b/src/packages.c
index 67b18c060..62d7495d3 100644
--- a/src/packages.c
+++ b/src/packages.c
@@ -51,7 +51,7 @@
static struct pkginfo *progress_bytrigproc;
static struct pkg_queue queue = PKG_QUEUE_INIT;
-int sincenothing = 0, dependtry = 0;
+int sincenothing = 0, dependtry = 1;
void
enqueue_package(struct pkginfo *pkg)