wok diff syslinux/stuff/extra/keytab-lilo.u @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (3 months ago)
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	Sun Mar 24 18:25:46 2024 +0000
     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*$/;