Harvey-OS / ninep

Package for implementing clients and servers of the 9P and 9P2000 distributed resource protocols in Go.
Other
39 stars 19 forks source link

wstat: do not do a rename if the target is a directory #20

Closed rminnich closed 7 years ago

rminnich commented 7 years ago

This resolves a failure seen with 321c312d of the golang code. It checked to make sure that a rename of a directory to a directory failed, since Unix kernel basically move the source directory into the destination; plan 9 semantics requires that the old directory not exist.

Signed-off-by: Ronald G. Minnich rminnich@gmail.com

harveybot commented 7 years ago

Please review this @hagna and @sevki

rminnich commented 7 years ago

LGTM

Approved with PullApprove