diff options
author | Russ Cox <rsc@golang.org> | 2011-11-30 13:42:14 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-11-30 13:42:14 -0500 |
commit | 39dd87a6632d7660399bdc7411d469721d6e0d84 (patch) | |
tree | 43129d550ed8011580f8dbed83d5ff4429e6f5d6 /src | |
parent | e984c83b45c3aaf180e4712396e481a81bff7dcf (diff) | |
download | go-39dd87a6632d7660399bdc7411d469721d6e0d84.tar.gz |
os: fix path/filepath test on Windows
This is not the right fix, but it is what used to happen
before the FileInfo conversion, and it should get the
build working again (at least that part).
TBR=brainman
CC=golang-dev
http://codereview.appspot.com/5434090
Diffstat (limited to 'src')
-rw-r--r-- | src/pkg/os/stat_windows.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pkg/os/stat_windows.go b/src/pkg/os/stat_windows.go index ddecd1118..e599583b2 100644 --- a/src/pkg/os/stat_windows.go +++ b/src/pkg/os/stat_windows.go @@ -100,7 +100,11 @@ func toFileInfo(name string, fa, sizehi, sizelo uint32, ctime, atime, mtime sysc } func sameFile(fs1, fs2 *FileStat) bool { - return false + // TODO(rsc): Do better than this, but this matches what + // used to happen when code compared .Dev and .Ino, + // which were both always zero. Obviously not all files + // are the same. + return true } // For testing. |