wok view syslinux/stuff/extra/keytab-lilo.u @ rev 19857

syslinux/iso2exe: fix recursive_partition + hybrib_mbr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 18 09:21:47 2017 +0100 (2017-03-18)
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*$/;