From owner-cvs-all Wed Feb 28 22: 3:26 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 3CCE537B719; Wed, 28 Feb 2001 22:03:18 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2163IM00616; Wed, 28 Feb 2001 22:03:18 -0800 (PST) (envelope-from imp) Message-Id: <200103010603.f2163IM00616@freefall.freebsd.org> From: Warner Losh Date: Wed, 28 Feb 2001 22:03:18 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make arch.c main.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG imp 2001/02/28 22:03:18 PST Modified files: usr.bin/make arch.c main.c Log: MAXPATHLEN includes the trailing NUL. Correct array sizes to reflect this. Correct NUL termination after strncpy. # Didn't to strncpy -> strlcpy change. Revision Changes Path 1.21 +3 -3 src/usr.bin/make/arch.c 1.47 +5 -5 src/usr.bin/make/main.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message