21 May
2008
21 May
'08
12:43 p.m.
On May 21, 2008, at 9:11 PM, Taco Hoekwater wrote:
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.
My Intel-based Leopard shows the following result: sysname: Darwin nodename: jin-hwan-chos-macbook.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 regards, ChoF.