[kbd] [PATCH] [loadkeys] Don't open console on --bkeymap

Alexey Gladkov gladkov.alexey at gmail.com
Sun Apr 25 09:57:37 UTC 2010


25.04.2010 11:12, Olivier Mehani wrote:
> From: Olivier Mehani <olivier.mehani at nicta.com.au>
> 
> Check that -b hasn't specified, similarly to -m, before loadkeys tries to open
> the console. As for --mktable, --bkeymap doesn't need it. This allows to dump
> binary keymaps in a larger range of situations where ownership of the console
> device is not guarranteed e.g., when running from an Xterm.
> 
> Signed-off-by: Olivier Mehani <olivier.mehani at nicta.com.au>
> ---
>  src/loadkeys.c |    2 +-

You must change the loadkeys.y too.
I applied with this change. Thanks!

-- 
Rgrds, legion



More information about the kbd mailing list