[Top][All Lists]
[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;
- cvs emacs and (system-name), Tom Tromey, 2007/04/17
- Re: cvs emacs and (system-name), Andreas Schwab, 2007/04/17
- Re: cvs emacs and (system-name), Tom Tromey, 2007/04/17
- Re: cvs emacs and (system-name), Chong Yidong, 2007/04/17
- Re: cvs emacs and (system-name), Tom Tromey, 2007/04/17
- Re: cvs emacs and (system-name), Richard Stallman, 2007/04/18
- Re: cvs emacs and (system-name), Glenn Morris, 2007/04/18
- Re: cvs emacs and (system-name), Tom Tromey, 2007/04/18
- Re: cvs emacs and (system-name),
Glenn Morris <=
- Re: cvs emacs and (system-name), Stefan Monnier, 2007/04/19
- Re: cvs emacs and (system-name), Tom Tromey, 2007/04/19
- Re: cvs emacs and (system-name), Chong Yidong, 2007/04/19
- Re: cvs emacs and (system-name), Stefan Monnier, 2007/04/19
- Re: cvs emacs and (system-name), Stefan Monnier, 2007/04/19
- Re: cvs emacs and (system-name), Chong Yidong, 2007/04/19
- Re: cvs emacs and (system-name), Glenn Morris, 2007/04/19
- Re: cvs emacs and (system-name), Richard Stallman, 2007/04/20
- Re: cvs emacs and (system-name), Chong Yidong, 2007/04/20
- Re: cvs emacs and (system-name), Richard Stallman, 2007/04/19