wok annotate 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 |
rev | line source |
---|---|
pascal@19857 | 1 kbd 2.0.3 support |
pascal@19857 | 2 --- utils/keytab-lilo |
pascal@19857 | 3 +++ utils/keytab-lilo |
pascal@19857 | 4 @@ -48,9 +48,9 @@ |
pascal@19857 | 5 $empty = 1; |
pascal@19857 | 6 while (<FILE>) { |
pascal@19857 | 7 chop; |
pascal@19857 | 8 - if (/^(static\s+)?u_short\s+(\S+)_map\[\S*\]\s+=\s+{\s*$/) { |
pascal@19857 | 9 + if (/^(static\s+)?(u_|unsigned )short\s+(\S+)_map\[\S*\]\s+=\s+{\s*$/) { |
pascal@19857 | 10 die "active at beginning of map" if defined $current; |
pascal@19857 | 11 - $current = $pfx.":".$2; |
pascal@19857 | 12 + $current = $pfx.":".$3; |
pascal@19857 | 13 next; |
pascal@19857 | 14 } |
pascal@19857 | 15 undef $current if /^};\s*$/; |