From owner-cvs-src-old@FreeBSD.ORG Wed Jan 13 18:25:53 2010 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 E4A63106566C for ; Wed, 13 Jan 2010 18:25:53 +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 D37428FC08 for ; Wed, 13 Jan 2010 18:25:53 +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 o0DIPr5s000798 for ; Wed, 13 Jan 2010 18:25:53 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o0DIPr5Z000796 for cvs-src-old@freebsd.org; Wed, 13 Jan 2010 18:25:53 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <201001131825.o0DIPr5Z000796@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Wed, 13 Jan 2010 18:25:43 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/comsat comsat.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: Wed, 13 Jan 2010 18:25:54 -0000 ed 2010-01-13 18:25:43 UTC FreeBSD src repository Modified files: libexec/comsat comsat.c Log: SVN rev 202208 on 2010-01-13 18:25:43Z by ed Port comsat to utmpx. It seems comsat stats the utmpx database each 15 seconds to see whether it has been changed. I am changing this behaviour to look at the utmpx database upon processing. I don't want to allow direct interference with the database files. I also wonder whether this optimization has any measurable performance benefit nowadays. Revision Changes Path 1.20 +21 -64 src/libexec/comsat/comsat.c