[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.2.12-8-g4d2b185



The following commit has been merged in the master branch:
commit 4d2b1851a25ed5fbc0493a1f9903ebf4a87e9da9
Author: Russ Allbery <rra@debian.org>
Date:   Sun Jun 21 21:49:03 2009 -0700

    Replace all newlines in tag data, not just the first
    
    * lib/Tags.pm:
      + [RA] Replace all newlines in tag data with \n, not just the first.
        (Closes: #534141)

diff --git a/debian/changelog b/debian/changelog
index 48a9e4e..53e5edc 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,9 @@ lintian (2.2.13) UNRELEASED; urgency=low
   * lib/Spelling.pm:
     + [RA] Add changes misspelling.
     + [RA] Fix correction for endianness.  Thanks, Raphael Geissert.
+  * lib/Tags.pm:
+    + [RA] Replace all newlines in tag data with \n, not just the first.
+      (Closes: #534141)
 
   * reporting/html_reports:
     + [RA] Change area back to section in the loop for generating the
diff --git a/lib/Tags.pm b/lib/Tags.pm
index 0895221..ff6fa05 100644
--- a/lib/Tags.pm
+++ b/lib/Tags.pm
@@ -366,7 +366,7 @@ sub tag {
     # treat the distinction between extra arguments to tag() as significant,
     # so we may as well take care of this up front.
     @information = grep { defined($_) and $_ ne '' }
-	map { s,\n,\\n,; $_ } @information;
+	map { s,\n,\\n,g; $_ } @information;
     my $information = join(' ', @information);
     $information = '' unless defined $information;
 

-- 
Debian package checker


Reply to: