cvs commit: src/usr.sbin/pw psdate.c pw_user.c pw_vpw.c
Robert Drehmel
robert at FreeBSD.org
Thu Jun 17 07:07:39 PDT 2004
robert 2004-06-17 14:07:16 UTC
FreeBSD src repository
Modified files:
usr.sbin/pw psdate.c pw_user.c pw_vpw.c
Log:
Use strlcpy(3) to replace the idiomatic
strncpy(d, s, l);
d[l - 1] = '\0';
statements.
Revision Changes Path
1.8 +7 -11 src/usr.sbin/pw/psdate.c
1.57 +10 -16 src/usr.sbin/pw/pw_user.c
1.4 +3 -5 src/usr.sbin/pw/pw_vpw.c
More information about the cvs-src
mailing list