[Dev-luatex] uname() volunteer needed

Radhakrishnan CV cvr at river-valley.org
Thu May 22 09:28:20 CEST 2008


On Wed, May 21, 2008 at 5:03 PM, Taco Hoekwater <taco at elvenkind.com> wrote:
> Hi all,
>
> In a discussion with Yue Wang he convinced me that it would
> be better to use uname() for finding os.name instead of the
> current jungle of #ifdefs.
>
> Because I do not want to alter the lua return values, that
> means I will have to interpret the contents of the returned
> structure a bit. To do that, I would appreciate it if the people
> on a non-linux32intel platform would compile and run the
> attached minimalistic C file.

In a MacBook running Leopard, I got the following:

sysname:  Darwin
nodename: Lamb.local
release:  9.2.2
version:  Darwin Kernel Version 9.2.2: Tue Mar  4 21:17:34 PST 2008;
root:xnu-1228.4.31~1/RELEASE_I386
machine:  i386

Best

-- 
Radhakrishnan


More information about the dev-luatex mailing list