From owner-cvs-all Tue Nov 30 2:18:58 1999 Delivered-To: cvs-all@freebsd.org Received: from ns.skylink.it (ns.skylink.it [194.177.113.1]) by hub.freebsd.org (Postfix) with ESMTP id D90BC14D5A; Tue, 30 Nov 1999 02:18:51 -0800 (PST) (envelope-from hibma@skylink.it) Received: from skylink.it (va-180.skylink.it [194.185.55.180]) by ns.skylink.it (8.9.1/8.8.8) with ESMTP id MAA29132; Tue, 30 Nov 1999 12:21:41 +0100 Received: from localhost (localhost [127.0.0.1]) by skylink.it (8.9.3/8.9.3) with ESMTP id LAA01566; Tue, 30 Nov 1999 11:20:06 +0100 (CET) (envelope-from hibma@skylink.it) Date: Tue, 30 Nov 1999 11:20:06 +0100 (CET) From: Nick Hibma X-Sender: n_hibma@henny.jrc.it Reply-To: Nick Hibma To: "Andrey A. Chernov" Cc: Soren Schmidt , CVS Committers FreeBSD , cvs-all@FreeBSD.org, "Louis A. Mamakos" Subject: Re: cvs commit: src/usr.sbin/moused moused.c In-Reply-To: <19991130011337.B55955@freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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