From owner-cvs-sys Sun Sep 14 12:04:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA24126 for cvs-sys-outgoing; Sun, 14 Sep 1997 12:04:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA24085; Sun, 14 Sep 1997 12:04:26 -0700 (PDT) From: Joerg Wunsch Received: (from joerg@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA09437; Sun, 14 Sep 1997 12:01:03 -0700 (PDT) Date: Sun, 14 Sep 1997 12:01:03 -0700 (PDT) Message-Id: <199709141901.MAA09437@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa/pcvt pcvt_ext.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 1997/09/14 12:01:03 PDT Modified files: sys/i386/isa/pcvt pcvt_ext.c Log: Fix the broken VT_WAITACTIVE ioctl for the case where the third arg was 0. PR: 4164 Submitted by: Joe Traister 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.) Revision Changes Path 1.13 +3 -15 src/sys/i386/isa/pcvt/pcvt_ext.c