From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: gethostname max len Date: Mon, 22 Mar 2004 11:02:55 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87fzc1n16o.fsf@zip.com.au> References: <87ad29on5v.fsf@zip.com.au> <20040322010510.GA235@gmx.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079917522 23985 80.91.224.253 (22 Mar 2004 01:05:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2004 01:05:22 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Mar 22 02:05:15 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5DsQ-0002Vd-00 for ; Mon, 22 Mar 2004 02:05:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5Dr1-0004gX-PA for guile-devel@m.gmane.org; Sun, 21 Mar 2004 20:03:47 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B5Dqu-0004e4-11 for guile-devel@gnu.org; Sun, 21 Mar 2004 20:03:40 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B5DqM-0004G1-Vk for guile-devel@gnu.org; Sun, 21 Mar 2004 20:03:38 -0500 Original-Received: from [61.8.0.85] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5DqM-0004Fk-4q for guile-devel@gnu.org; Sun, 21 Mar 2004 20:03:06 -0500 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout2.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i2M1305v004527; Mon, 22 Mar 2004 12:03:00 +1100 Original-Received: from localhost (ppp160.dyn10.pacific.net.au [61.8.10.160]) by mailproxy2.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i2M12w66017544; Mon, 22 Mar 2004 12:02:59 +1100 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1B5DqB-0000tI-00; Mon, 22 Mar 2004 11:02:55 +1000 Original-To: Wolfgang Jaehrling Mail-Copies-To: never In-Reply-To: <20040322010510.GA235@gmx.de> (Wolfgang Jaehrling's message of "Mon, 22 Mar 2004 02:05:11 +0100") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3555 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3555 Wolfgang Jaehrling writes: > > Which is what Guile probably also should do, otherwise it won't work > correctly on the GNU system, which has no limit on the length of host > names; Oh, is that how the -1 is to be understood? Nosing around the glibc sources it looked only like it didn't have an implementation for HOST_NAME_MAX yet. > the current code that checks for ENAMETOOLONG looks quite > GNU/Linux-specific. Yep. (I'm not proposing to change that, only to get a better first size for the buffer.) _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel