Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 1996 18:23:30 -0800
From:      David Greenman <dg@root.com>
To:        Steve Price <sprice@hiwaay.net>
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 
Message-ID:  <199612240223.SAA27050@root.com>
In-Reply-To: Your message of "Mon, 23 Dec 1996 10:39:34 CST." <Pine.OSF.3.94.961223102556.1356A-100000@fly.HiWAAY.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612240223.SAA27050>