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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"