From owner-freebsd-net Tue Mar 13 16:22: 8 2001 Delivered-To: freebsd-net@freebsd.org Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62]) by hub.freebsd.org (Postfix) with ESMTP id 1C20937B71A for ; Tue, 13 Mar 2001 16:22:07 -0800 (PST) (envelope-from fanf@dotat.at) Received: from fanf by hand.dotat.at with local (Exim 3.20 #3) id 14cz23-000ESK-00; Wed, 14 Mar 2001 00:20:51 +0000 Date: Wed, 14 Mar 2001 00:20:51 +0000 From: Tony Finch To: Garrett Wollman Cc: Brian Somers , net@FreeBSD.org, freebsd-standards@bostonradio.org Subject: Re: MAXHOSTNAMELEN redux Message-ID: <20010314002051.U96832@hand.dotat.at> References: <200103121813.NAA61145@khavrinen.lcs.mit.edu> <200103130149.f2D1nQB08449@hak.lan.Awfulhak.org> <200103130149.f2D1nQB08449@hak.lan.Awfulhak.org> <200103130210.VAA66732@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103130210.VAA66732@khavrinen.lcs.mit.edu> Organization: Covalent Technologies, Inc Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Garrett Wollman wrote: > >I think the common-sense interpretation when one speaks of the >``maximum length'' of some string is that it is the maximum value >strlen() might return, and doesn't include metainformation. However it slightly uglifies idiomatic coding of things like array declarations and calls to malloc() and strlcpy() and so forth. Tony. -- f.a.n.finch fanf@covalent.net dot@dotat.at VIKING: NORTHEAST BACKING NORTHWEST 3 OR 4, OCCASIONALLY 5. SHOWERS. GOOD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message