From owner-cvs-all Sun Jul 22 0:25:32 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 E99A737B401; Sun, 22 Jul 2001 00:25:27 -0700 (PDT) (envelope-from gad@FreeBSD.org) Received: (from gad@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6M7PR212407; Sun, 22 Jul 2001 00:25:27 -0700 (PDT) (envelope-from gad) Message-Id: <200107220725.f6M7PR212407@freefall.freebsd.org> From: Garance A Drosehn Date: Sun, 22 Jul 2001 00:25: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: HEAD 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/22 00:25:27 PDT Modified files: usr.sbin/lpr/common_source displayq.c usr.sbin/lpr/lpd printjob.c recvjob.c Log: 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(). MFC after: 8 days Revision Changes Path 1.22 +4 -7 src/usr.sbin/lpr/common_source/displayq.c 1.41 +19 -26 src/usr.sbin/lpr/lpd/printjob.c 1.24 +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