]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the broken VT_WAITACTIVE ioctl for the case where the third arg
authorJoerg Wunsch <joerg@FreeBSD.org>
Sun, 14 Sep 1997 19:01:01 +0000 (19:01 +0000)
committerJoerg Wunsch <joerg@FreeBSD.org>
Sun, 14 Sep 1997 19:01:01 +0000 (19:01 +0000)
commitacb902182fa413a29d4f2835eaa6094609158198
tree43b5f70b4c8d59ecbbf1537f8a1901fad8f991ad
parent755b925e2481b86ab9338c2aae54098c99d3d3b1
Fix the broken VT_WAITACTIVE ioctl for the case where the third arg
was 0.

PR: 4164
Submitted by: Joe Traister <traister@mojozone.org>

While i was at it, also fixed a broken return value for the VT_RELDISP
ioctl, iff the third arg was legally VT_TRUE, but the destination
screen was in process mode so the actual switch had to be deferred.
This was breaking the ability to directly toggle between two X servers
running on two VTs, since the server getting the bogus error return
was running wild, and competing with the other one for the hardware.
(Sigh, this was a very long-standing bug.)
sys/i386/isa/pcvt/pcvt_ext.c