From owner-cvs-all Mon Mar 18 11:28:38 2002 Delivered-To: cvs-all@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 545D837B405; Mon, 18 Mar 2002 11:28:17 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.6) id g2IJSGm33846; Mon, 18 Mar 2002 14:28:16 -0500 (EST) (envelope-from wollman) Date: Mon, 18 Mar 2002 14:28:16 -0500 (EST) From: Garrett Wollman Message-Id: <200203181928.g2IJSGm33846@khavrinen.lcs.mit.edu> To: Warner Losh Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/dev_mkdb dev_mkdb.c In-Reply-To: <200203180723.g2I7Nfr75821@freefall.freebsd.org> References: <200203180723.g2I7Nfr75821@freefall.freebsd.org> 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 < said: > o remove __P > o Use ansi function definitions > o MAXPATHLEN already has the NUL at the end, so no need to add 1 (note that > MAXNAMLEN doesn't, so the + 1 there is correct). [Not just for Warner:] If you're doing to do this, please use POSIX {PATH_MAX} instead. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message