[kbd] [patch] fixup previous changes to loadunimap.c

Alexey Gladkov gladkov.alexey at gmail.com
Tue Apr 1 18:18:11 MSD 2008


Mike Frysinger wrote:
> iirc, a Debian patch made the change to loadunimap.c:
> -static char *unidirpath[] = { "", DATADIR "/" UNIMAPDIR "/", 0 };
> +static char *unidirpath[] = { "", DATADIR "/" TRANSDIR "/", 0 };
> 
> that shouldnt be an exclusive change, it should be both dirs.  the attached 
> patch fixes things.

Commit 1.12-21-g5f2bf61 was wrong. It should be fixed.
Only following change is needed for compatibility with console-tools:

-static char *unisuffixes[] = { "", ".uni", 0 };
+static char *unisuffixes[] = { "", ".sfm", ".uni", 0 };

Thanks!

-- 
Rgrds, legion



More information about the kbd mailing list