From owner-freebsd-emulation Sun Feb 7 09:45:26 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20329 for freebsd-emulation-outgoing; Sun, 7 Feb 1999 09:45:26 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20324 for ; Sun, 7 Feb 1999 09:45:21 -0800 (PST) (envelope-from marcel@scc.nl) Received: from scones.sup.scc.nl (i427.ztm.euronet.nl [194.134.67.148]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id SAA27326; Sun, 7 Feb 1999 18:45:13 +0100 (MET) Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.2/8.9.1) with ESMTP id SAA23626; Sun, 7 Feb 1999 18:45:09 +0100 (CET) (envelope-from marcel@scc.nl) Message-ID: <36BDD125.EB51D53A@scc.nl> Date: Sun, 07 Feb 1999 18:45:09 +0100 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Randall Hopper CC: emulation@FreeBSD.ORG Subject: Re: XessLite4 Spreadsheet - Problem on 3.0-RELEASE References: <19990116102334.A5244@pagesz.net> <36A1BC26.F222F5B3@scc.nl> <19990206204310.A29695@pagesz.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Randall Hopper wrote: [snip] > |> I've created /compat/linux/proc/{version,cpuinfo} with copies of these > |> files from a Linux box that Xesslite4 runs on, but no success. > | > |At what point does it fail when you do have the files? > > It fails at pretty much the same place as without them. The tail of the > output is the same (except for a few bytes in the read() GIOs, except that > this line is added: > [snip] This is what happens (no ktraces included): When the files (version and cpuinfo) are not present, lstat fails and xslite4 aborts. When the files are present lstat succeeds, but xslite4 fails because the files have length > 0 (on Red Hat they have length 0; on FreeBSD they are regular files). As a result xslite4 aborts. When you create empty files, lstat succeeds and xslite4 will open the files and read them, but will fail because it does read what it expects and aborts; after which I aborted :-) XessLite4 will only run when /proc is properly emulated. Sorry, marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message