[Reproducible-commits] [dpkg] 18/40: dpkg: Sort PKG_STAT_ switch cases in descending order

Jérémy Bobbio lunar at moszumanska.debian.org
Sat May 30 09:52:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch pu/reproducible_builds
in repository dpkg.

commit 7366ce825ae2ab7feb73fe5458323fc79b8baa6f
Author: Guillem Jover <guillem at debian.org>
Date:   Sat Apr 18 19:56:05 2015 +0200

    dpkg: Sort PKG_STAT_ switch cases in descending order
---
 src/depcon.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/depcon.c b/src/depcon.c
index 1f17c84..1e73d29 100644
--- a/src/depcon.c
+++ b/src/depcon.c
@@ -337,11 +337,11 @@ depisok(struct dependency *dep, struct varbuf *whynot,
     case PKG_STAT_TRIGGERSPENDING:
     case PKG_STAT_TRIGGERSAWAITED:
       break;
-    case PKG_STAT_NOTINSTALLED:
-    case PKG_STAT_CONFIGFILES:
-    case PKG_STAT_HALFINSTALLED:
     case PKG_STAT_HALFCONFIGURED:
     case PKG_STAT_UNPACKED:
+    case PKG_STAT_HALFINSTALLED:
+    case PKG_STAT_CONFIGFILES:
+    case PKG_STAT_NOTINSTALLED:
       return true;
     default:
       internerr("unknown status depending '%d'", dep->up->status);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list