From owner-cvs-all Thu Mar 1 13:32:43 2001 Delivered-To: cvs-all@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id E724837B718; Thu, 1 Mar 2001 13:32:34 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f21LWJd51319; Thu, 1 Mar 2001 14:32:19 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103012132.f21LWJd51319@harmony.village.org> To: "Jacques A. Vidrine" Subject: Re: cvs commit: src/usr.bin/make arch.c main.c Cc: Garrett Wollman , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Thu, 01 Mar 2001 14:51:42 CST." <20010301145142.A20573@hamlet.nectar.com> References: <20010301145142.A20573@hamlet.nectar.com> <200103011743.MAA01724@khavrinen.lcs.mit.edu> <200103010603.f2163IM00616@freefall.freebsd.org> <200103011743.MAA01724@khavrinen.lcs.mit.edu> <200103011817.f21IHZd50132@harmony.village.org> Date: Thu, 01 Mar 2001 14:32:19 -0700 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010301145142.A20573@hamlet.nectar.com> "Jacques A. Vidrine" writes: : Note that {PATH_MAX} _does not_ include a terminating null, and that : in sys/param.h we define MAXPATHLEN = PATH_MAX. A quick look through : the sources reveals lots & lots of `bugs' due to this. It does include the terminating NUL character, at least in FreeBSD. PATH_MAX is 1024 and the longest path you can have is 1023 bytes. Garrett sent me verbage, which I included in another message, that says that IEEE clarified this to include the terminating NUL. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message