[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8041: 24.0.50; system-name is not the fqdn
From: |
Glenn Morris |
Subject: |
bug#8041: 24.0.50; system-name is not the fqdn |
Date: |
Tue, 15 Feb 2011 14:09:23 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Sam Steingold wrote:
> why isn't system-name the fqdn sometimes?
You can try tracing init_system_name in sysdep.c to see where the
difference comes from.
> on a different machine (tbox), the development version reports the fqdn,
> so I suspect that this partly depends on the system configuration.
> however, the system-name is advertised to be the fqdn, so all available
> methods should be used one by one until fqdn is acquired.
Where do you see fqdn advertised?
C-h f system-name
Return the host name of the machine you are running on, as a string.
C-h i m elisp RET
i system-name RET
This function returns the name of the machine you are running on.