joerg e7c3d728c1 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.)
1997-09-14 19:01:01 +00:00
..
1997-09-14 11:28:30 +00:00
1997-09-14 02:58:12 +00:00
1997-06-14 13:56:12 +00:00
1997-09-14 03:19:42 +00:00
1997-09-14 03:19:42 +00:00
1997-09-14 02:58:12 +00:00
1997-08-02 14:33:27 +00:00
1997-09-14 02:58:12 +00:00
1997-09-14 02:58:12 +00:00
1997-09-14 03:00:44 +00:00
1997-09-14 03:00:44 +00:00
1997-09-14 03:19:42 +00:00
1997-09-14 03:19:42 +00:00
1997-05-28 04:45:15 +00:00
1997-09-14 03:19:42 +00:00
1997-09-14 02:58:12 +00:00
1997-09-14 03:19:42 +00:00