Date: Fri, 14 Apr 2006 19:14:58 +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: <200604141914.k3EJEwQ3050993@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604141914.k3EJEwQ3050993>
