Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2010 08:43:21 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libc/gen getutxent.3 pututxline.c utxdb.c
Message-ID:  <201001230843.o0N8hahi011846@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001230843.o0N8hahi011846>