From owner-cvs-bin Mon Dec 23 08:06:22 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA08752 for cvs-bin-outgoing; Mon, 23 Dec 1996 08:06:22 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id IAA08743; Mon, 23 Dec 1996 08:06:17 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.6/8.6.5) with SMTP id IAA25960; Mon, 23 Dec 1996 08:05:17 -0800 (PST) Message-Id: <199612231605.IAA25960@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Steve Price cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org Subject: Re: cvs commit: src/bin/sh cd.c In-reply-to: Your message of "Sun, 22 Dec 1996 21:31:50 PST." <199612230531.VAA17702@freefall.freebsd.org> From: David Greenman Reply-To: dg@root.com Date: Mon, 23 Dec 1996 08:05:17 -0800 Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >steve 96/12/22 21:31:49 > > Modified: bin/sh cd.c > Log: > Don't use _POSIX_PATH_MAX to limit the size of the path, instead > use 'getcwd(NULL, 0)' just as pwd(1) does. getcwd() is a rather expensive operation...are you sure you want to do this? -DG David Greenman Core-team/Principal Architect, The FreeBSD Project