]> Cypherpunks.ru repositories - gostls13.git/commit
path/filepath: in Rel use case-insensitive comparison on Windows
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Wed, 11 Nov 2015 01:21:49 +0000 (10:21 +0900)
committerRuss Cox <rsc@golang.org>
Thu, 12 Nov 2015 19:58:37 +0000 (19:58 +0000)
commit935faf3be200d6f469cccdbec27cee3741a97350
treeeeb46fcc1e1d064da3b56118101cf8fd7b3089aa
parentb28eeea136ec106a012be8b4278cb06203328c08
path/filepath: in Rel use case-insensitive comparison on Windows

Fixes #10802

Compare Volume name and each path elements using strings.EqualFold.

Change-Id: Ibdefdb801d0326e53755bc9cc8c10eed998094e5
Reviewed-on: https://go-review.googlesource.com/16795
Reviewed-by: Russ Cox <rsc@golang.org>
src/path/filepath/path.go
src/path/filepath/path_plan9.go
src/path/filepath/path_test.go
src/path/filepath/path_unix.go
src/path/filepath/path_windows.go