Date: Sun, 7 Feb 1999 13:13:28 -0500 From: Randall Hopper <aa8vb@pagesz.net> To: Marcel Moolenaar <marcel@scc.nl> Cc: emulation@FreeBSD.ORG Subject: Re: XessLite4 Spreadsheet - Problem on 3.0-RELEASE Message-ID: <19990207131328.A19703@pagesz.net> In-Reply-To: <36BDD125.EB51D53A@scc.nl>; from Marcel Moolenaar on Sun, Feb 07, 1999 at 06:45:09PM %2B0100 References: <19990116102334.A5244@pagesz.net> <36A1BC26.F222F5B3@scc.nl> <19990206204310.A29695@pagesz.net> <36BDD125.EB51D53A@scc.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Marcel Moolenaar:
|[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,
Thanks for the explanation. I didn't get as much as you did from the
ktrace output.
Don't suppose there is some FreeBSD feature with which one could emulate
this behavior? Maybe a socket or named pipe with a daemon sleeping on the
other end?
Randall
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990207131328.A19703>
