]> Cypherpunks repositories - gostls13.git/commit
os: windows Rename should overwrite destination file.
authorDaniel Theophanes <kardianos@gmail.com>
Thu, 26 Feb 2015 20:10:11 +0000 (12:10 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 9 Apr 2015 08:39:52 +0000 (08:39 +0000)
commit92c57363e0b4d193c4324e2af6902fe56b7524a0
treeaa746fe30aa2b2e31701af65c0055718ab437ec8
parentef49b4ca78863766c86611de9b87ea14f56d8a3f
os: windows Rename should overwrite destination file.

Rename now uses MoveFileEx which was previously not available to
use because it is not supported on Windows 2000.

Change-Id: I583d029c4467c9be6d1574a790c423559b441e87
Reviewed-on: https://go-review.googlesource.com/6140
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
src/internal/syscall/windows/syscall_windows.go
src/internal/syscall/windows/zsyscall_windows.go
src/os/error_windows_test.go [deleted file]
src/os/file_posix.go
src/os/file_unix.go
src/os/file_windows.go
src/os/os_test.go