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 [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message