[xml/sgml-commit] [SCM] linuxdoc-tools package for Debian. branch, master, updated. debian/0.9.65-2-g38bfaed

Agustin Martin Domingo agmartin at debian.org
Mon Nov 9 20:02:54 UTC 2009


The following commit has been merged in the master branch:
commit 38bfaed4ecce79fa3286b6fdeba10e7c15cafde0
Author: Agustin Martin Domingo <agmartin at debian.org>
Date:   Sat Nov 7 20:29:58 2009 +0100

    fmt_info.pl: bashslash non-alphanumeric characters in origin full name.
    
      Make sure non-alphanumeric characters are backslashed
      when playing with original full filename. Thanks
      Michael Klein for report and fix (Closes: #554845).

diff --git a/VERSION b/VERSION
index b64934d..a06533a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.9.65
+0.9.66
diff --git a/debian/changelog b/debian/changelog
index e1eed89..352ee9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+linuxdoc-tools (0.9.66) unstable; urgency=low
+
+  * debian/control:
+    - Bump debhelper dependency to 7.
+  * lib/fmt/fmt_info.pl
+    - Make sure non-alphanumeric characters are backslashed
+      when playing with original full filename. Thanks
+      Michael Klein for report and fix (Closes: #554845).
+
+ -- Agustin Martin Domingo <agmartin at debian.org>  Sat, 07 Nov 2009 20:29:00 +0100
+
 linuxdoc-tools (0.9.65) unstable; urgency=low
 
   * lib/fmt/fmt_txt.pl:
diff --git a/lib/fmt/fmt_info.pl b/lib/fmt/fmt_info.pl
index 1288b75..7ef1d83 100644
--- a/lib/fmt/fmt_info.pl
+++ b/lib/fmt/fmt_info.pl
@@ -141,8 +141,8 @@ $info->{postASP} = sub {
   }
   close $TMPINFO;
 
-  # Change to something useful origin filename given by makeinfo
-  $infotext =~ s/$texifile/$fileinfo/;
+  # Change origin filename given by makeinfo to something useful
+  $infotext =~ s/\Q$texifile\E/$fileinfo/;
 
   # Remove not needed line in resulting info file. Only first match.
   $infotext =~ s/\\input texinfo//;

-- 
linuxdoc-tools package for Debian.



More information about the debian-xml-sgml-commit mailing list