]> Cypherpunks repositories - gostls13.git/commit
os: fix Rename on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Thu, 20 Feb 2014 06:59:38 +0000 (07:59 +0100)
committerDavid du Colombier <0intro@gmail.com>
Thu, 20 Feb 2014 06:59:38 +0000 (07:59 +0100)
commit58a9268f265843e2720adbcbdaf0bc1d367046a1
treeb55c7b984dce4b6fdf3a5dd97d22b04afdab5171
parent5a6af5fc9439f96829bcdc9463a28baee0e41d85
os: fix Rename on Plan 9

Rename should fail when the directory doesn't match.
It will fix the newly introduced test from cmd/pack
on Plan 9.

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/65270044
src/pkg/os/file_plan9.go