utmp.h: UT_HOSTSIZE

Ed Schouten ed at 80386.nl
Tue May 6 16:18:58 UTC 2008


* Marc Olzheim <marcolz at stack.nl> wrote:
> Probably historical reasons. It's very much possible to change it
> though.  We've defined it to 64 since FreeBSD 2.05 and never really had
> any trouble.

When increasing it, we shouldn't forget to increase UT_LINESIZE to 16 as
well.  Using the UNIX 98 PTY naming, we can't go beyond pts/999, because
it is eight bytes, including the null byte.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20080506/e8ec6674/attachment.pgp


More information about the freebsd-hackers mailing list