1
0
mirror of https://github.com/golang/go synced 2024-11-21 16:04:45 -07:00

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
https://golang.org/cl/5434090
This commit is contained in:
Russ Cox 2011-11-30 13:42:14 -05:00
parent e812db3558
commit e62622b1b1

View File

@ -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.