diff options
author | Antti-Juhani Kaijanaho <ajk@debian.org> | 2012-06-08 22:45:31 +0300 |
---|---|---|
committer | Antti-Juhani Kaijanaho <ajk@debian.org> | 2012-06-08 22:45:31 +0300 |
commit | 3da2c85181849571d62270ddf86306ea5e0d7482 (patch) | |
tree | f34f53275689d868da1ea9c35d8abebe7ebac692 | |
parent | a132bb1dec969d2852d98e32eaaa7b2da8c309c8 (diff) | |
download | dctrl-tools-3da2c85181849571d62270ddf86306ea5e0d7482.tar.gz |
lib/msg.c (msg_primitive): Write the period before the newline, not after!
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
-rw-r--r-- | debian/changelog | 3 | ||||
-rw-r--r-- | lib/msg.c | 4 | ||||
-rw-r--r-- | tests/0010.err | 3 | ||||
-rw-r--r-- | tests/0011.err | 3 |
4 files changed, 6 insertions, 7 deletions
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@debian.org> Fri, 08 Jun 2012 19:42:51 +0300 + -- Antti-Juhani Kaijanaho <ajk@debian.org> Fri, 08 Jun 2012 22:38:22 +0300 dctrl-tools (2.22.2) unstable; urgency=low @@ -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. |