Bug in xkbcomp.c
To |
Branden Robinson <branden zavinac ecn bod purdue bod edu> |
From |
Miroslav Vasko <mvasko zavinac isternet bod sk> |
Date |
Sat, 15 May 1999 18:51:31 +0000 |
Cc |
czdebian-l zavinac debian bod cz, "Stanislav Meduna" <stano zavinac eunet bod sk> |
Organization |
Zooropa SK |
Hi!
friend of mine, Stano Meduna discovered a bug in xkb-compiler,
xkbcomp.c
it does not allow to have any include dirs through compiling map than
default.
I'm sending you the mail he sent to XFree. He got positive answer.
Thanks,
Miro.
=== snip ===
I think I have found a problem in xkbcomp.
The manual states that
-Idir Specifies top-level directories to be searched for
files included by the keymap description.
But in the code (xkbcomp.c, line 300) there is following
code:
else if ((strncmp(argv[i],"-I",2)==0)&&(!xkblist)) {
if (!XkbAddDirectoryToPath(&argv[i][2])) {
ACTION("Exiting\n");
}
exit(1);
}
The problem is obvious - the exit(1) was apparently
meant to be placed one line above.
=== snip ===
--
.~. Miroslav Vasko
/V\ vasko zavinac debian bod cz, vasko zavinac debian bod sk
// \\
/( )\ Debian GNU/Linux SK
^^-^^ http://www.debian.cz/slovak/
Partial thread listing: