On Wed, May 21, 2008 at 2: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.
Oh, yes ... the garden returns sysname: Linux nodename: paris release: 2.6.18 version: #1 SMP Sun Feb 10 17:55:04 UTC 2008 machine: x86_64 and runs in 32-bit mode. I guess there is no way to fix that (on the server side), right? Unaltered minimals with automatic platform recognition already fail to work already anyway. Mojca