From owner-cvs-all Sun Jul 29 16: 6:34 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9951B37B403; Sun, 29 Jul 2001 16:06:27 -0700 (PDT) (envelope-from gad@FreeBSD.org) Received: (from gad@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6TN6RK30472; Sun, 29 Jul 2001 16:06:27 -0700 (PDT) (envelope-from gad) Message-Id: <200107292306.f6TN6RK30472@freefall.freebsd.org> From: Garance A Drosehn Date: Sun, 29 Jul 2001 16:06:27 -0700 (PDT) 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 X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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