Oops, it needs little more caulk to get it right.
This commit is contained in:
parent
79e02527ef
commit
8df71a5a7d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20887
@ -33,7 +33,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: cd.c,v 1.9 1996/12/23 05:31:48 steve Exp $
|
||||
* $Id: cd.c,v 1.10 1996/12/23 22:16:35 steve Exp $
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
@ -237,5 +237,5 @@ getpwd()
|
||||
{
|
||||
if (curdir)
|
||||
return (curdir);
|
||||
return (getcwd(NULL, 0));
|
||||
return ((curdir = getcwd(NULL, 0)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user