[Dctrl-tools-devel] [SCM] Debian control file query tools branch, master, updated. 2.22.2-12-g6a1d34d

Antti-Juhani Kaijanaho ajk at debian.org
Fri Jun 8 21:42:06 UTC 2012


The following commit has been merged in the master branch:
commit 3da2c85181849571d62270ddf86306ea5e0d7482
Author: Antti-Juhani Kaijanaho <ajk at debian.org>
Date:   Fri Jun 8 22:45:31 2012 +0300

    lib/msg.c (msg_primitive): Write the period before the newline, not after!
    
    Signed-off-by: Antti-Juhani Kaijanaho <ajk at debian.org>

diff --git a/debian/changelog b/debian/changelog
index f4f56df..d68030a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,8 +9,9 @@ dctrl-tools (2.23) UNRELEASED; urgency=low
     mblen initialization calls, switch to using mbrlen in tbl-dctrl.c (a
     good idea in any case).
   * Add -Wextra to non-package builds (and clean up the resulting warnings).
+  * lib/msg.c (msg_primitive): Write the period before the newline, not after!
 
- -- Antti-Juhani Kaijanaho <ajk at debian.org>  Fri, 08 Jun 2012 19:42:51 +0300
+ -- Antti-Juhani Kaijanaho <ajk at debian.org>  Fri, 08 Jun 2012 22:38:22 +0300
 
 dctrl-tools (2.22.2) unstable; urgency=low
 
diff --git a/lib/msg.c b/lib/msg.c
index 2216413..b9554fb 100644
--- a/lib/msg.c
+++ b/lib/msg.c
@@ -1,5 +1,5 @@
 /*   grep-dctrl - grep Debian control files
-     Copyright © 1999, 2004, 2008  Antti-Juhani Kaijanaho
+     Copyright © 1999, 2004, 2008, 2012  Antti-Juhani Kaijanaho
   
      This program is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published by
@@ -100,5 +100,5 @@ msg_primitive(const char *fname, int line, const char *fmt, va_list ap)
                 fprintf(stderr, "%s: %s: ", get_progname(), fname);
         }
         vfprintf(stderr, fmt, ap);
-        fputs("\n.", stderr);
+        fputs(".\n", stderr);
 }
diff --git a/tests/0010.err b/tests/0010.err
index 4b9f606..eaff48a 100644
--- a/tests/0010.err
+++ b/tests/0010.err
@@ -1,2 +1 @@
-../grep-dctrl/grep-dctrl: -:3: expected a colon
-.
\ No newline at end of file
+../grep-dctrl/grep-dctrl: -:3: expected a colon.
diff --git a/tests/0011.err b/tests/0011.err
index 5200d77..1c6e1ab 100644
--- a/tests/0011.err
+++ b/tests/0011.err
@@ -1,2 +1 @@
-../grep-dctrl/grep-dctrl: -:5: expected a colon
-.
\ No newline at end of file
+../grep-dctrl/grep-dctrl: -:5: expected a colon.

-- 
Debian control file query tools



More information about the Dctrl-tools-devel mailing list