From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: cvs emacs and (system-name) Date: Thu, 19 Apr 2007 01:00:11 -0400 Message-ID: <5qejmhhsbo.fsf@fencepost.gnu.org> References: <87ps62kcne.fsf@stupidchicken.com> <1todll8uvm.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176958978 13419 80.91.229.12 (19 Apr 2007 05:02:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2007 05:02:58 +0000 (UTC) Cc: schwab@suse.de, cyd@stupidchicken.com, rms@gnu.org, emacs-devel@gnu.org To: tromey@redhat.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 19 07:02:51 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HeOnD-0008JN-CZ for ged-emacs-devel@m.gmane.org; Thu, 19 Apr 2007 07:02:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HeOs7-0001D1-Jh for ged-emacs-devel@m.gmane.org; Thu, 19 Apr 2007 01:07:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HeOs4-0001BC-De for emacs-devel@gnu.org; Thu, 19 Apr 2007 01:07:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HeOs3-0001A9-P8 for emacs-devel@gnu.org; Thu, 19 Apr 2007 01:07:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HeOs3-0001A1-IR for emacs-devel@gnu.org; Thu, 19 Apr 2007 01:07:51 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HeOn8-0002FO-KW for emacs-devel@gnu.org; Thu, 19 Apr 2007 01:02:46 -0400 Original-Received: from [127.0.0.1] (helo=localhost) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HeOkd-0004W6-DJ; Thu, 19 Apr 2007 01:00:11 -0400 X-Spook: FSF IDEA BATF halcon MDA NASA MILSATCOM IMF X-Ran: N?<@PqNRfnflEmg94CTDj&c.gy5_d$zcs^jM:o+IzA*iP<*Y'G (Tom Tromey's message of "18 Apr 2007 15:40:13 -0600") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69613 Archived-At: 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;