소스 검색

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>
 2007-01-15  Guillem Jover  <guillem@debian.org>
 
 
 	* scripts/dpkg-gettext.pl: Remove duplicate 'use static'.
 	* 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.
     by checking if the macro value is true instead of it being defined.
     Thanks to Mark Rosenstand.
     Thanks to Mark Rosenstand.
   * Make some perl scripts use static and warnings, to ease catching errors.
   * 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 ]
   [ Updated dpkg translations ]
   * Romanian (Eddy Petrișor).
   * 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) {
 	    oldfs.st_ino == cfile->namenode->filestat->st_ino) {
 	  if (sameas)
 	  if (sameas)
 	    fprintf(stderr, _("dpkg: warning - old file `%.250s' is the same"
 	    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,
 		    fnamevb.buf,
 		    sameas->namenode->name, cfile->namenode->name);
 		    sameas->namenode->name, cfile->namenode->name);
 	  sameas= cfile;
 	  sameas= cfile;