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

guillem pushed a commit to branch master
in repository dpkg.

commit 9622251478262d26ab6e01aa865417370a533069
Author: Guillem Jover <guil...@debian.org>
Date:   Sun Mar 25 16:37:38 2018 +0200

    s-s-d: Switch an internal error from a fatal() to a BUG() call
    
    This one is a programming bug, and should not be reported as a normal
    fatal error.
---
 debian/changelog          | 2 ++
 utils/start-stop-daemon.c | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fcaa528..0574fb5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -42,6 +42,8 @@ dpkg (1.19.1) UNRELEASED; urgency=medium
     into an ohshit(), because this is really a run-time error.
   * Fix assert() in dselect to expect the method lock file descriptor to be
     initialized, instead of non-zero.
+  * Switch a fatal() call in start-stop-daemon into the new BUG() macro,
+    because it is really an internal error.
   * Architecture support:
     - Add support for riscv64 CPU. Closes: #822914
       Thanks to Manuel A. Fernandez Montecelo <m...@debian.org>
diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c
index 44ae328..611340e 100644
--- a/utils/start-stop-daemon.c
+++ b/utils/start-stop-daemon.c
@@ -2482,7 +2482,7 @@ run_stop_schedule(void)
        else if (userspec)
                set_what_stop("process(es) owned by '%s'", userspec);
        else
-               fatal("internal error, no match option, please report");
+               BUG("no match option, please report");
 
        anykilled = false;
        retry_nr = 0;

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

Reply via email to