cvs commit: src/lib/libutil pidfile.c

John-Mark Gurney jmg at FreeBSD.org
Sun Apr 16 04:43:33 UTC 2006


jmg         2006-04-16 04:43:32 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6_1)
    lib/libutil          pidfile.c 
  Log:
  MFC: v1.2 pidfile.c
  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.1.2.1  +1 -1      src/lib/libutil/pidfile.c


More information about the cvs-src mailing list