HEADS UP: <utmp.h> gone. All welcome <utmpx.h>.

Ed Schouten ed at 80386.nl
Tue Feb 2 10:49:07 UTC 2010

Hello Yvan,

* VANHULLEBUS Yvan <vanhu at FreeBSD.org> wrote:
> We're working on this, but as we have now to work with both utmp.h and 
> utmpx.h (at least for FreeBSD releases and FreeBSD CURRENT), we're
> trying to find a clean way to solve the issue.

I think the cleanest solution would be to split them off completely.
Most projects do things like:

#define utmp utmpx

but this really makes the code harder to interpret. Just moving all the
utmp stuff into a small set of routines that you port per operating
system is probably the best way to go.

 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: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20100202/e851f2d1/attachment.pgp

More information about the freebsd-ports mailing list