cvs commit: src/lib/libutil pidfile.c

Dag-Erling Smorgrav des at FreeBSD.org
Fri May 11 11:10:06 UTC 2007


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


More information about the cvs-src mailing list