Date: Wed, 14 Mar 2001 00:20:51 +0000 From: Tony Finch <dot@dotat.at> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: Brian Somers <brian@Awfulhak.org>, net@FreeBSD.org, freebsd-standards@bostonradio.org Subject: Re: MAXHOSTNAMELEN redux Message-ID: <20010314002051.U96832@hand.dotat.at> In-Reply-To: <200103130210.VAA66732@khavrinen.lcs.mit.edu> References: <wollman@khavrinen.lcs.mit.edu> <200103121813.NAA61145@khavrinen.lcs.mit.edu> <200103130149.f2D1nQB08449@hak.lan.Awfulhak.org> <200103130149.f2D1nQB08449@hak.lan.Awfulhak.org> <200103130210.VAA66732@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman <wollman@khavrinen.lcs.mit.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010314002051.U96832>