Date: Sun, 6 Dec 2009 20:30:21 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libulog Makefile Symbol.map utempter.c utempter.h utempter_add_record.3 src/sys/sys param.h Message-ID: <200912062034.nB6KYBFP067226@repoman.freebsd.org>
index | next in thread | raw e-mail
ed 2009-12-06 20:30:21 UTC
FreeBSD src repository
Modified files:
lib/libulog Makefile Symbol.map
sys/sys param.h
Added files:
lib/libulog utempter.c utempter.h
utempter_add_record.3
Log:
SVN rev 200185 on 2009-12-06 20:30:21Z by ed
Add a libutempter compatibility interface to libulog.
The ulog_login_pseudo(3) and ulog_logout_pseudo(3) interfaces provide a
functionality identical to what libutempter has to offer. Just transform
libutempter's calls into the before mentioned functions.
libutempter doesn't work with utmpx, so instead of fixing I thought the
easiest way would be to integrate this functionality. libutempter is
used by applications like xterm and the KDE libraries, so if I ever
change the underlying file format, these applications will keep working
automatically.
Also increase __FreeBSD_version to indicate the addition (as well as the
import of libulog).
Revision Changes Path
1.3 +22 -4 src/lib/libulog/Makefile
1.3 +7 -0 src/lib/libulog/Symbol.map
1.1 +84 -0 src/lib/libulog/utempter.c (new)
1.1 +44 -0 src/lib/libulog/utempter.h (new)
1.1 +106 -0 src/lib/libulog/utempter_add_record.3 (new)
1.442 +1 -1 src/sys/sys/param.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912062034.nB6KYBFP067226>
