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.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to