diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-07-22 18:15:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-07-22 18:15:38 +0000 |
commit | 22b955cca564a9a3a5b8c9d9dd1e295b7943c128 (patch) | |
tree | abdbd898676e1f853fca2d7e031d105d7ebcf676 /libgo/go/os/getwd.go | |
parent | 9d04a3af4c6491536badf6bde9707c907e4d196b (diff) | |
download | gcc-22b955cca564a9a3a5b8c9d9dd1e295b7943c128.tar.gz |
libgo: update to go1.7rc3
Reviewed-on: https://go-review.googlesource.com/25150
From-SVN: r238662
Diffstat (limited to 'libgo/go/os/getwd.go')
-rw-r--r-- | libgo/go/os/getwd.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/os/getwd.go b/libgo/go/os/getwd.go index d5da53b34bf..4c3c0d94cb0 100644 --- a/libgo/go/os/getwd.go +++ b/libgo/go/os/getwd.go @@ -20,7 +20,7 @@ var getwdCache struct { var useSyscallwd = func(error) bool { return true } // Getwd returns a rooted path name corresponding to the -// current directory. If the current directory can be +// current directory. If the current directory can be // reached via multiple paths (due to symbolic links), // Getwd may return any one of them. func Getwd() (dir string, err error) { @@ -74,7 +74,7 @@ func Getwd() (dir string, err error) { } // General algorithm: find name in parent - // and then find name of parent. Each iteration + // and then find name of parent. Each iteration // adds /name to the beginning of dir. dir = "" for parent := ".."; ; parent = "../" + parent { |