Package: console-setup
Version: 1.18
Severity: serious

console-setup fails because it does not handle files that have
comments beginning with #:

./ckbcomp: instead of "#ཨ༁ྸༀkey<AE01>{[0x1000f21,0x1000f2a,0x1000" in cn 
expected };.

The attached patch fixes this problem.

-- 
Matt
diff -ru console-setup-1.18~/Keyboard/ckbcomp 
console-setup-1.18/Keyboard/ckbcomp
--- console-setup-1.18~/Keyboard/ckbcomp        2007-09-23 08:08:49.000000000 
-0700
+++ console-setup-1.18/Keyboard/ckbcomp 2007-09-23 07:42:27.000000000 -0700
@@ -2532,6 +2532,7 @@
     while (<FILE>) {
        chop;
        s{//.*}{};
+       s{#.*}{};
        $string = $string . $_ .' ';
     }
     close FILE;

Reply via email to