]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
scgetc() referred to `spcl' in different ways when a key is pressed
authorKazutaka YOKOTA <yokota@FreeBSD.org>
Mon, 14 Jul 1997 03:36:50 +0000 (03:36 +0000)
committerKazutaka YOKOTA <yokota@FreeBSD.org>
Mon, 14 Jul 1997 03:36:50 +0000 (03:36 +0000)
commit99ec86e438b944ede18da7a04afbafb438ffdd2e
tree3ebca4fe9d21d794c2e725696ddcdfb4433285ff
parentc09be724d623752bf87b5ed4311c0ef8b759328d
scgetc() referred to `spcl' in different ways when a key is pressed
and released.  It should use `spcl' consistently in both cases,
otherwise shift/control/alt state may not be correctly set/reset.

(Even with this fix, you can still make syscons confused and fail to
change internal state if you really want to, by installing a really
arcane and artificial keymap.)

PR: i386/4030
Reviewed by: sos
sys/dev/syscons/syscons.c
sys/i386/isa/syscons.c
sys/isa/syscons.c