From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 7 17:25:29 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91FCE16A4D0; Tue, 7 Nov 2006 17:25:29 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (ns1int.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C738643D60; Tue, 7 Nov 2006 17:24:16 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id kA7HO7Rq023059; Tue, 7 Nov 2006 10:24:07 -0700 (MST) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.13.8/8.13.8) with ESMTP id kA7HO4PF038099; Tue, 7 Nov 2006 10:24:04 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.13.8/8.13.8/Submit) id kA7HO4Dq038096; Tue, 7 Nov 2006 10:24:04 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17744.49460.325202.912653@gromit.timing.com> Date: Tue, 7 Nov 2006 10:24:04 -0700 From: John E Hein To: Jung-uk Kim In-Reply-To: <200611071201.11899.jkim@FreeBSD.org> References: <20061106174033.GA70360@stud.fit.vutbr.cz> <17744.46794.149852.319567@gromit.timing.com> <200611071201.11899.jkim@FreeBSD.org> X-Mailer: VM 7.19 under Emacs 22.0.50.1 X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on Daffy.timing.com X-Virus-Status: Clean Cc: freebsd-emulation@FreeBSD.org Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 17:25:29 -0000 Jung-uk Kim wrote at 12:01 -0500 on Nov 7, 2006: > Try the attached patch instead. > > Jung-uk Kim > --- src/sys/compat/linux/linux_stats.c.orig Sun Oct 22 07:52:11 2006 > +++ src/sys/compat/linux/linux_stats.c Tue Nov 7 11:59:21 2006 > @@ -130,7 +130,7 @@ > int temp; > > temp = td->td_retval[0]; > - if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) > + if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY | O_NONBLOCK, 0) != 0) > return; > fd = td->td_retval[0]; > td->td_retval[0] = temp; Yep. That fixes the problem with linux-seamonkey I reported.