Date: Sun, 16 Apr 2006 04:43:32 +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: <200604160443.k3G4hWau041659@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604160443.k3G4hWau041659>
