emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs emacs and (system-name)


From: Glenn Morris
Subject: Re: cvs emacs and (system-name)
Date: Thu, 19 Apr 2007 01:00:11 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Tom Tromey wrote:

> I don't really have a domain I would put my machine in, and I think
> a reasonable number of people may fall into this category. Emacs
> picking "localhost.localdomain" over the actual name of my machine
> still seems a bit odd.

At the moment, we prefer any name with a "." in. We could skip
"localhost.localdomain":

*** sysdep.c    21 Jan 2007 04:18:15 -0000      1.278
--- sysdep.c    19 Apr 2007 05:00:41 -0000
***************
*** 2433,2439 ****
                /* We still don't have a fully qualified domain name.
                   Try to find one in the list of alternate names */
                char **alias = hp->h_aliases;
!               while (*alias && !index (*alias, '.'))
                  alias++;
                if (*alias)
                  fqdn = *alias;
--- 2433,2440 ----
                /* We still don't have a fully qualified domain name.
                   Try to find one in the list of alternate names */
                char **alias = hp->h_aliases;
!               while (*alias && ( !index (*alias, '.') ||
!                    !strcmp (*alias, "localhost.localdomain" ) ) )
                  alias++;
                if (*alias)
                  fqdn = *alias;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]