wok diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/syslinux/stuff/extra/keytab-lilo.u Sat Mar 18 09:21:47 2017 +0100 1.3 @@ -0,0 +1,15 @@ 1.4 +kbd 2.0.3 support 1.5 +--- utils/keytab-lilo 1.6 ++++ utils/keytab-lilo 1.7 +@@ -48,9 +48,9 @@ 1.8 + $empty = 1; 1.9 + while (<FILE>) { 1.10 + chop; 1.11 +- if (/^(static\s+)?u_short\s+(\S+)_map\[\S*\]\s+=\s+{\s*$/) { 1.12 ++ if (/^(static\s+)?(u_|unsigned )short\s+(\S+)_map\[\S*\]\s+=\s+{\s*$/) { 1.13 + die "active at beginning of map" if defined $current; 1.14 +- $current = $pfx.":".$2; 1.15 ++ $current = $pfx.":".$3; 1.16 + next; 1.17 + } 1.18 + undef $current if /^};\s*$/;