]> Cypherpunks repositories - gostls13.git/commit
path/filepath: fix Abs on Windows
authorZev Goldstein <zev.goldstein@gmail.com>
Fri, 28 Oct 2016 15:42:27 +0000 (11:42 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 29 Oct 2016 16:44:45 +0000 (16:44 +0000)
commit8f91865e1b2f2df95fb4833babbd0a8fb26085c8
tree0ee0ee45209911042785e28e883d2c5c07007429
parent833f57ed502d686ce054ff557cf3bf5b6ed1a1d2
path/filepath: fix Abs on Windows

The filepath.Abs function in windows did not call Clean as the
documentation claimed.  This change not only fixes that behavior but
also adjusts TestAbs to verify Abs calls Clean as documented.

Fixes #17210

Change-Id: I20c5f5026042fd7bd9d929ff5b17c8b2653f8afe
Reviewed-on: https://go-review.googlesource.com/32292
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/path/filepath/path_test.go
src/path/filepath/path_windows.go