diff --git a/CHANGES b/CHANGES index 470fc7825d..4311f15c39 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +2351. [bug] convertxsl.pl generated very long lines. [RT #17906] + 2350. [port] win32: IPv6 support. [RT #17797] 2349. [func] Provide incremental re-signing support for secure diff --git a/bin/named/convertxsl.pl b/bin/named/convertxsl.pl index b6ea4bd956..605557dc77 100755 --- a/bin/named/convertxsl.pl +++ b/bin/named/convertxsl.pl @@ -14,12 +14,12 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: convertxsl.pl,v 1.9 2007/09/14 06:14:44 marka Exp $ +# $Id: convertxsl.pl,v 1.10 2008/04/02 03:35:13 marka Exp $ use strict; use warnings; -my $rev = '$Id: convertxsl.pl,v 1.9 2007/09/14 06:14:44 marka Exp $'; +my $rev = '$Id: convertxsl.pl,v 1.10 2008/04/02 03:35:13 marka Exp $'; $rev =~ s/\$//g; $rev =~ s/,v//g; $rev =~ s/Id: //; @@ -34,7 +34,16 @@ while (<>) { $xsl = $_ if (//); # convert Id string to a form not recognisable by cvs. $_ =~ s///; - $lines .= $_; + s/[\ \t]+/ /g; + s/\>\ \\.*//; $xsl =~ s/,v//; -$lines =~ s/[\ \t]+/ /g; -$lines =~ s/\>\ \\