From owner-cvs-src-old@FreeBSD.ORG Sat Dec 5 20:44:42 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AF961065707 for ; Sat, 5 Dec 2009 20:44:42 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 592758FC16 for ; Sat, 5 Dec 2009 20:44:42 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nB5KigTL074679 for ; Sat, 5 Dec 2009 20:44:42 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nB5Kig5x074678 for cvs-src-old@freebsd.org; Sat, 5 Dec 2009 20:44:42 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200912052044.nB5Kig5x074678@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Sat, 5 Dec 2009 20:44:19 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/who Makefile who.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2009 20:44:42 -0000 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