Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 1999 11:20:06 +0100 (CET)
From:      Nick Hibma <hibma@skylink.it>
To:        "Andrey A. Chernov" <ache@FreeBSD.org>
Cc:        Soren Schmidt <sos@freebsd.dk>, CVS Committers FreeBSD <cvs-committers@FreeBSD.org>, cvs-all@FreeBSD.org, "Louis A. Mamakos" <louie@TransSys.COM>
Subject:   Re: cvs commit: src/usr.sbin/moused moused.c
Message-ID:  <Pine.BSF.4.20.9911301113510.1435-100000@henny.jrc.it>
In-Reply-To: <19991130011337.B55955@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Nov 1999, Andrey A. Chernov wrote:

Argh!


        /*  mouse event  */
-       if (read(rodent.mfd, &b, 1) == -1);
+       if (read(rodent.mfd, &b, 1) == -1)
                return;         /* file seems to be closed on us */

Sorry about that, folks. Committed the change below. EWOULDBLOCK cannot
occur as we did a select waiting for data to become available.

Please test this change and let me know ASAP if it breaks. 

Nick

P.S.: That keyboard macro has been removed from my .vimrc :-(



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.9911301113510.1435-100000>