Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 1996 08:05:17 -0800
From:      David Greenman <dg@root.com>
To:        Steve Price <steve@freefall.freebsd.org>
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:  <199612231605.IAA25960@root.com>
In-Reply-To: Your message of "Sun, 22 Dec 1996 21:31:50 PST." <199612230531.VAA17702@freefall.freebsd.org> 

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



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