From owner-cvs-all Wed Feb 28 21:49:43 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 4F23237B718; Wed, 28 Feb 2001 21:49:37 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f215nbX99116; Wed, 28 Feb 2001 21:49:37 -0800 (PST) (envelope-from imp) Message-Id: <200103010549.f215nbX99116@freefall.freebsd.org> From: Warner Losh Date: Wed, 28 Feb 2001 21:49:37 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/find ls.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG imp 2001/02/28 21:49:37 PST Modified files: usr.bin/find ls.c Log: MAXPATHLEN already accounts for the trailing NUL, so no need to add one in. In addition, since we pass readlink MAXPATHLEN - 1, we would have never have used that extra byte anyway. Revision Changes Path 1.7 +2 -2 src/usr.bin/find/ls.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message