From owner-cvs-all Tue Apr 23 22:53:21 2002 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 406E237B41B; Tue, 23 Apr 2002 22:53:14 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3O5rDH81681; Tue, 23 Apr 2002 23:53:13 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3O5rBb31157; Tue, 23 Apr 2002 23:53:12 -0600 (MDT) (envelope-from imp@village.org) Date: Tue, 23 Apr 2002 23:53:10 -0600 (MDT) Message-Id: <20020423.235310.117915219.imp@village.org> To: ken@kdm.org Cc: obrien@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libcam camlib.h From: "M. Warner Losh" In-Reply-To: <20020423220257.A39867@panzer.kdm.org> References: <200204232358.g3NNwLW16877@freefall.freebsd.org> <20020423220257.A39867@panzer.kdm.org> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 In message: <20020423220257.A39867@panzer.kdm.org> "Kenneth D. Merry" writes: : On Tue, Apr 23, 2002 at 16:58:21 -0700, David E. O'Brien wrote: : > obrien 2002/04/23 16:58:21 PDT : > : > Modified files: : > lib/libcam camlib.h : > Log: : > Do not +1 with MAXPATHLEN. : : Why not? What about the terminating NUL? Because MAXPATHLEN *INCLUDES* the terminating NUL. See lots of discussions on this topic in various lists in the past. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message