]> Cypherpunks repositories - gostls13.git/commit
lib9: use $PWD in getwd
authorRuss Cox <rsc@golang.org>
Sat, 23 Jul 2011 01:21:17 +0000 (21:21 -0400)
committerRuss Cox <rsc@golang.org>
Sat, 23 Jul 2011 01:21:17 +0000 (21:21 -0400)
commita667e44e7592fd6c40815d9f774a64a18edf1f17
treed8441c74abd7c531ac4482bc4134f7440ca0118e
parent4e5e12e305d2847a95a986d0e32b036b29ecd6ba
lib9: use $PWD in getwd

This makes the full file paths recorded by 6g
prefer $PWD over the actual directory name
(relevant when $PWD gets to the current directory
via symlinks).  It's what everyone else does, and
what people expect.

R=iant, r, mattn.jp
CC=golang-dev
https://golang.org/cl/4824041
src/lib9/getwd.c