wok view syslinux/stuff/extra/keytab-lilo.u @ rev 24984
Up ufr2 (2.40-2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 10 07:46:30 2022 +0000 (2022-05-10) |
parents | |
children |
line source
1 kbd 2.0.3 support
2 --- utils/keytab-lilo
3 +++ utils/keytab-lilo
4 @@ -48,9 +48,9 @@
5 $empty = 1;
6 while (<FILE>) {
7 chop;
8 - if (/^(static\s+)?u_short\s+(\S+)_map\[\S*\]\s+=\s+{\s*$/) {
9 + if (/^(static\s+)?(u_|unsigned )short\s+(\S+)_map\[\S*\]\s+=\s+{\s*$/) {
10 die "active at beginning of map" if defined $current;
11 - $current = $pfx.":".$2;
12 + $current = $pfx.":".$3;
13 next;
14 }
15 undef $current if /^};\s*$/;