Date: Fri, 11 May 2007 11:10:06 +0000 (UTC) From: Dag-Erling Smorgrav <des@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: <200705111110.l4BBA62r096046@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2007-05-11 11:10:06 UTC
FreeBSD src repository
Modified files:
lib/libutil pidfile.c
Log:
strlcpy() may be faster than snprintf(), but it is less portable, and this
is not performance critical code anyway. Also, avoid using strlen() to
obtain information which we already have.
MFC after: 3 weeks
Revision Changes Path
1.5 +8 -8 src/lib/libutil/pidfile.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705111110.l4BBA62r096046>
