From: Angelo Graziosi <address@hidden>
Date: Sun, 7 May 2017 23:28:22 +0200
Cc: address@hidden
Il 07/05/2017 18:49, Eli Zaretskii ha scritto:
Emacs doesn't up-case the system-name, it uses the exact string we get
from the system API we use to get the machine name (GetComputerName).
Looking at src/w32.c it seems you are implementing (sys_)gethostname()
which, if I understood, is also used on other *nix systems.
gethostname() seems the right routine because on MSYS2 shell I get:
$ env | grep -i foobar
HOSTNAME=FooBar
COMPUTERNAME=FOOBAR
or, if you prefer,
$ echo $COMPUTERNAME $HOSTNAME
FOOBAR FooBar