Date: Mon, 14 Jul 2003 21:16:27 +0100 From: Daniel Bye <dan@slightlystrange.org> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: uname(3) return being truncated Message-ID: <20030714201627.GA63669@catflap.home.slightlystrange.org> In-Reply-To: <44fzlblg8p.fsf@be-well.ilk.org> References: <20030707111111.GC73629@catflap.home.slightlystrange.org> <44fzlblg8p.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 12, 2003 at 03:03:34PM -0400, Lowell Gilbert wrote: > According to /usr/include/sys/utsname.h, there is a 32-byte limit on > the string that holds the hostname. It looks like it could be boosted > without much trouble, but *anything* that used the utsname structure > would need to be recompiled. And you'd have to migrate the change > forward. Doesn't sound worth it to me... Thanks for the reply, Lowell. I agree - it does sound like a huge faff, especially when explicitly setting $primary_hostname in Exim's config makes the "problem" disappear. Nothing else gets confused, and most server apps I'm ever likely to want to run have an option to explicitly set the local machine's hostname anyway. Satisfies my curiosity, though... ;-) Cheers, Dan --=20 Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/Ew+bhvzwOpChvo8RAu8iAJoCa1mo8xDqstNmU+jSBX5laD03ewCfQBAl KGx2o4qLnOMRRaAXzTQ608I= =iSoK -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030714201627.GA63669>