Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 23:10:02 +0000 (UTC)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libutil pidfile.c
Message-ID:  <200604112310.k3BNA2DL029129@repoman.freebsd.org>

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



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