Author: adam-guest
Date: 2008-04-04 19:26:54 +0000 (Fri, 04 Apr 2008)
New Revision: 1236

Modified:
   trunk/scripts/debchange.pl
Log:
Use an exclusive rather than inclusive range in the fix for #473769 (to allow 
for multi-byte characters)

Modified: trunk/scripts/debchange.pl
===================================================================
--- trunk/scripts/debchange.pl  2008-04-03 05:51:24 UTC (rev 1235)
+++ trunk/scripts/debchange.pl  2008-04-04 19:26:54 UTC (rev 1236)
@@ -1294,7 +1294,7 @@
     # seems to assume that character == byte
     # See http://rt.perl.org/rt3/Public/Bug/Display.html?id=33832
     # and Debian bug #473769
-    my $count = () = $CHGLINE =~ /[\x80-\xFF]/mg;
+    my $count = () = $CHGLINE =~ /[^\x00-\x7F]/mg;
     $CHGLINE .= " " x $count;
 
     print O "\n" if $opt_news && ! ($newentry || $linecount);



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to