[Patch] let sessreg build with utmpx exclusively

Ed Schouten ed at 80386.nl
Sat Jan 16 03:56:41 PST 2010


Hi folks,

We at FreeBSD very recently gained support for utmpx, while removing
utmp entirely. Our utmpx interface is very compact and should be quite
pleasant to use. There aren't a lot of extensions to POSIX, which is
described here:

	http://www.opengroup.org/onlinepubs/9699919799/basedefs/utmpx.h.html
	http://www.opengroup.org/onlinepubs/9699919799/functions/endutxent.html

It seens the sessreg app is a bit antique and really depends on utmp
being there. I've attached a patch to make it build with FreeBSD HEAD
again.

Greetings,
-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sessreg.diff
Type: text/x-diff
Size: 6982 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20100116/1561d6da/attachment-0001.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20100116/1561d6da/attachment-0001.pgp 


More information about the xorg-devel mailing list