From owner-cvs-src-old@FreeBSD.ORG Sat Jan 23 08:43:36 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 814611065698 for ; Sat, 23 Jan 2010 08:43:36 +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 70F468FC19 for ; Sat, 23 Jan 2010 08:43:36 +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 o0N8haK5011847 for ; Sat, 23 Jan 2010 08:43:36 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o0N8hahi011846 for cvs-src-old@freebsd.org; Sat, 23 Jan 2010 08:43:36 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <201001230843.o0N8hahi011846@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Sat, 23 Jan 2010 08:43:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/gen getutxent.3 pututxline.c utxdb.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, 23 Jan 2010 08:43:36 -0000 ed 2010-01-23 08:43:21 UTC FreeBSD src repository Modified files: lib/libc/gen getutxent.3 pututxline.c utxdb.c Log: SVN rev 202876 on 2010-01-23 08:43:21Z by ed Just ignore the timestamps given to pututxline(). I've noticed many applications do a bad job at timekeeping, for several reasons: - Applications like screen(1) don't update time records when restoring the old user login record. - Many applications only set ut_tv.tv_sec, not ut_tv.tv_usec. This causes many problems for tools such as ac(8), which require the timestamps to be properly ordered. This is why I've decided to let the utmpx code obtain valid timestamps itself. Revision Changes Path 1.6 +5 -7 src/lib/libc/gen/getutxent.3 1.5 +0 -12 src/lib/libc/gen/pututxline.c 1.4 +7 -4 src/lib/libc/gen/utxdb.c