cvs commit: src/lib/libutil pidfile.c

John-Mark Gurney jmg at FreeBSD.org
Tue Apr 11 23:10:03 UTC 2006


jmg         2006-04-11 23:10:02 UTC

  FreeBSD src repository

  Modified files:
    lib/libutil          pidfile.c 
  Log:
  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...
  
  Reviewed by:    scottl
  MFC after:      3 days
  
  Revision  Changes    Path
  1.2       +1 -1      src/lib/libutil/pidfile.c


More information about the cvs-src mailing list