Date: Sun, 29 Jul 2001 16:06:27 -0700 (PDT) From: Garance A Drosehn <gad@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/common_source displayq.c src/usr.sbin/lpr/lpd printjob.c recvjob.c Message-ID: <200107292306.f6TN6RK30472@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2001/07/29 16:06:27 PDT
Modified files: (Branch: RELENG_4)
usr.sbin/lpr/common_source displayq.c
usr.sbin/lpr/lpd printjob.c recvjob.c
Log:
MFC *: Replace calls to strncpy with calls to strlcpy, and remove the extra step
needed to ensure that the result is null-terminated when using strncpy().
[* = 1.22 displayq.c, 1.41 printjob.c, 1.24 recvjob.c]
Revision Changes Path
1.15.2.7 +4 -7 src/usr.sbin/lpr/common_source/displayq.c
1.22.2.17 +19 -26 src/usr.sbin/lpr/lpd/printjob.c
1.14.2.10 +5 -7 src/usr.sbin/lpr/lpd/recvjob.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107292306.f6TN6RK30472>
