[Ecls-list] Minor change
Geo Carncross
geocar at gmail.com
Sun Apr 13 18:29:26 UTC 2008
On Sun, Apr 13, 2008 at 9:18 AM, Juan Jose Garcia-Ripoll
<jjgarcia at users.sourceforge.net> wrote:
> - MACHINE-TYPE, MACHINE-INSTANCE, SOFTWARE-VERSION and similar functions are
> now compliant and output NIL when they cannot guess the right information.
> In particular MACHINE-INSTANCE returns the host name if the environment
> variable HOSTNAME is set (in Unix) and COMPUTERNAME if set (in Windows).
>
> In a not so distant future, MACHINE-INSTANCE will use POSIX's
> gethostname(). In the mean time, the current function will work in
> most Unices, except for OS X, where it will return NIL because the
> operating system does not export the environment variable HOSTNAME.
> Tag: (CVS 2008-04-13 15:12)
uname(3) works on macosx. Of course, you can let $HOSTNAME override it
because it's useful.
More information about the ecl-devel
mailing list