浏览代码

Add a missing newline to a warning message in dpkg. Closes: #390914
Thanks to Ian Jackson.

Guillem Jover 19 年之前
父节点
当前提交
959255c8fc
共有 3 个文件被更改,包括 8 次插入1 次删除
  1. 5 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 1 1
      src/processarc.c

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2007-01-15  Ian Jackson  <iwj@ubuntu.com>
+
+	* src/processarc.c (process_archive): Add a missing newline to a
+	warning message.
+
 2007-01-15  Guillem Jover  <guillem@debian.org>
 
 	* scripts/dpkg-gettext.pl: Remove duplicate 'use static'.

+ 2 - 0
debian/changelog

@@ -12,6 +12,8 @@ dpkg (1.14.0) UNRELEASED; urgency=low
     by checking if the macro value is true instead of it being defined.
     Thanks to Mark Rosenstand.
   * Make some perl scripts use static and warnings, to ease catching errors.
+  * Add a missing newline to a warning message in dpkg. Closes: #390914
+    Thanks to Ian Jackson.
 
   [ Updated dpkg translations ]
   * Romanian (Eddy Petrișor).

+ 1 - 1
src/processarc.c

@@ -672,7 +672,7 @@ void process_archive(const char *filename) {
 	    oldfs.st_ino == cfile->namenode->filestat->st_ino) {
 	  if (sameas)
 	    fprintf(stderr, _("dpkg: warning - old file `%.250s' is the same"
-		      " as several new files!  (both `%.250s' and `%.250s')"),
+		    " as several new files!  (both `%.250s' and `%.250s')\n"),
 		    fnamevb.buf,
 		    sameas->namenode->name, cfile->namenode->name);
 	  sameas= cfile;