From owner-cvs-src-old@FreeBSD.ORG Sun Dec 6 01:10:40 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 33EF2106566B for ; Sun, 6 Dec 2009 01:10:40 +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 223628FC12 for ; Sun, 6 Dec 2009 01:10:40 +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 nB61AeXe020466 for ; Sun, 6 Dec 2009 01:10:40 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nB61AeZL020465 for cvs-src-old@freebsd.org; Sun, 6 Dec 2009 01:10:40 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200912060110.nB61AeZL020465@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Sun, 6 Dec 2009 01:10:30 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/w Makefile w.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: Sun, 06 Dec 2009 01:10:40 -0000 ed 2009-12-06 01:10:30 UTC FreeBSD src repository Modified files: usr.bin/w Makefile w.c Log: SVN rev 200172 on 2009-12-06 01:10:30Z by ed Let w(1) use utmpx. We don't have UT_*SIZE anymore. One of the reasons for that is because all strings are null terminated, there is no need for apps to copy strings out of the utmpx structure. This means we can define W_DISP*SIZE lengths for all columns. While there, adjust the sizes a little. Steal some bytes from the username column, while extending the hostname column quite a bit. Revision Changes Path 1.9 +3 -3 src/usr.bin/w/Makefile 1.63 +26 -29 src/usr.bin/w/w.c