Date: Sat, 5 Dec 2009 20:44:19 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/who Makefile who.c Message-ID: <200912052044.nB5Kig5x074678@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-12-05 20:44:19 UTC
FreeBSD src repository
Modified files:
usr.bin/who Makefile who.c
Log:
SVN rev 200166 on 2009-12-05 20:44:19Z by ed
Port who(1) to utmpx.
(Un)fortunately there is no standardized interface to switch between
utmp database files, so we must call ulog_setutxfile() here.
I'm also changing the column widths to magic numbers here. Display
layout should in this case not be derived from structure fields sizes.
Because I don't want struct utmpx ever to become too small, the fields
are too big to reserve all the space.
Revision Changes Path
1.2 +6 -0 src/usr.bin/who/Makefile
1.23 +50 -58 src/usr.bin/who/who.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912052044.nB5Kig5x074678>
