From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 7 17:33:51 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 D580816A416; Tue, 7 Nov 2006 17:33:51 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0B0443D77; Tue, 7 Nov 2006 17:33:48 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id kA7HXkP3055613 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Nov 2006 18:33:46 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id kA7HXkCV055612; Tue, 7 Nov 2006 18:33:46 +0100 (CET) Date: Tue, 7 Nov 2006 18:33:46 +0100 From: Divacky Roman To: John E Hein Message-ID: <20061107173346.GB50772@stud.fit.vutbr.cz> References: <20061106174033.GA70360@stud.fit.vutbr.cz> <17744.46794.149852.319567@gromit.timing.com> <200611071201.11899.jkim@FreeBSD.org> <17744.49460.325202.912653@gromit.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17744.49460.325202.912653@gromit.timing.com> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: freebsd-emulation@FreeBSD.org, Jung-uk Kim 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:33:51 -0000 On Tue, Nov 07, 2006 at 10:24:04AM -0700, John E Hein wrote: > 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. hm... why my patch doesnt work then? :)