cvs commit: src/lib/libutil pidfile.c

John-Mark Gurney jmg at FreeBSD.org
Fri Apr 14 19:14:59 UTC 2006


jmg         2006-04-14 19:14:58 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    lib/libutil          pidfile.c 
  Log:
  MFC: pidfile.c v1.2
  use pwrite to always write at the begining of the file..  If multiple calls
  to pidfile_write happen, the pidfile will have nul characters prepended
  due to the cached file descriptor offset...
  
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.1.2.2   +1 -1      src/lib/libutil/pidfile.c


More information about the cvs-src mailing list