Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2009 20:04:36 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libulog ulog_pututxline.c
Message-ID:  <200912252004.nBPK4gBW047971@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-12-25 20:04:36 UTC

  FreeBSD src repository

  Modified files:
    lib/libulog          ulog_pututxline.c 
  Log:
  SVN rev 200996 on 2009-12-25 20:04:36Z by ed
  
  Don't corrupt logout entries in utmp files.
  
  An older version of the code used a structure on the stack, instead of a
  pointer to the structure. It looks like I didn't adjust the parameters
  of the write(2) call, causing the first four/eight bytes of the entry to
  be corrupted, instead of writing the entire entry to disk.
  
  Revision  Changes    Path
  1.2       +1 -1      src/lib/libulog/ulog_pututxline.c



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