[Reproducible-commits] [dpkg] 76/105: dpkg-deb: Promote a print to a warning for missing control files

Niko Tyni ntyni at moszumanska.debian.org
Mon May 2 13:49:55 UTC 2016


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

ntyni pushed a commit to branch ntyni/reproducible_builds
in repository dpkg.

commit 829326ae59424d98ce3e12d9360dfb572ac43f0e
Author: Guillem Jover <guillem at debian.org>
Date:   Sun Apr 3 17:05:47 2016 +0200

    dpkg-deb: Promote a print to a warning for missing control files
---
 debian/changelog | 1 +
 dpkg-deb/info.c  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1343d0c..74c1062 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -69,6 +69,7 @@ dpkg (1.18.5) UNRELEASED; urgency=medium
     - <new-preinst> upgrade <old-version> <new-version>
     - <new-prerm> failed-upgrade <old-version> <new-version>
     Prompted by Andrey Utkin <andrey.krieger.utkin at gmail.com>.
+  * Promote a print to a warning for missing control files in dpkg-deb.
   * Portability:
     - Move DPKG_ADMINDIR environment variable name out from update-alternatives
       code, to make life easier for non-dpkg-based systems.
diff --git a/dpkg-deb/info.c b/dpkg-deb/info.c
index e806c31..07caecf 100644
--- a/dpkg-deb/info.c
+++ b/dpkg-deb/info.c
@@ -175,7 +175,7 @@ info_list(const char *debar, const char *dir)
   if (!cc) {
     if (errno != ENOENT)
       ohshite(_("failed to read '%.255s' (in '%.255s')"), CONTROLFILE, dir);
-    fputs(_("(no 'control' file in control archive!)\n"), stdout);
+    warning(_("no 'control' file in control archive!"));
   } else {
     lines= 1;
     while ((c= getc(cc))!= EOF) {

-- 
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