Date: Wed, 27 Mar 2002 08:49:20 -0800 From: Scott Blachowicz <scott@sabami.seaslug.org> To: Matthias Buelow <mkb@informatik.uni-wuerzburg.de> Cc: freebsd-hackers@freebsd.org Subject: Re: ports/36307: nmh port cuts off last part of sender domain Message-ID: <20020327084920.A84514@sabami.seaslug.org> In-Reply-To: <20020327144432.4CE71AEB8@reiher.informatik.uni-wuerzburg.de>; from mkb@informatik.uni-wuerzburg.de on Wed, Mar 27, 2002 at 03:44:32PM %2B0100 References: <20020326201407.A55900@sabami.seaslug.org> <20020327144432.4CE71AEB8@reiher.informatik.uni-wuerzburg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 27, 2002 at 03:44:32PM +0100, Matthias Buelow wrote: > ... > This is both a problem in nmh aswell as FreeBSD; nmh shouldn't rely > on uname(3) for getting a full Internet hostname as "nodename"; > FreeBSD should raise SYS_NMLN to provide enough place for an Internet > hostname. > ... > My proposal: > > Make nmh depend on sth. else than uname(3), and also push up > FreeBSD's SYS_NMLN (if not already done so in -CURRENT, haven't > checked.) Well...I'll work on getting the nmh port modified to avoid uname(3). It's already conditionalized on a HAVE_UNAME define, so just turning that define off should take care of it. It looks like it'll use gethostname(3) instead and the calling code passes a BUFSIZ (1024) char buffer in...the gethostname(3) man page warns that it's limited to 256 chars, so that should do the trick, I think. Thanx, -- Scott Blachowicz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020327084920.A84514>