From owner-cvs-bin Mon Dec 23 18:24:37 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA04961 for cvs-bin-outgoing; Mon, 23 Dec 1996 18:24:37 -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 SAA04956; Mon, 23 Dec 1996 18:24:35 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.6/8.6.5) with SMTP id SAA27050; Mon, 23 Dec 1996 18:23:30 -0800 (PST) Message-Id: <199612240223.SAA27050@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 "Mon, 23 Dec 1996 10:39:34 CST." From: David Greenman Reply-To: dg@root.com Date: Mon, 23 Dec 1996 18:23:30 -0800 Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >On Mon, 23 Dec 1996, David Greenman wrote: > ># >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? ># > >Considering the alternatives (and without actually doing any time >studies), yes I think it ITRTD. The alternatives (as I see Sorry, I had thought that you were calling getcwd() twice. Now that I have the changes here, I see that my assumption was wrong. So nevermind... -DG David Greenman Core-team/Principal Architect, The FreeBSD Project