]> git.ipfire.org Git - thirdparty/coreutils.git/commit
mv -T DIR EMPTY_DIR no longer fails
authorJim Meyering <jim@meyering.net>
Thu, 11 May 2006 08:55:04 +0000 (08:55 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 11 May 2006 08:55:04 +0000 (08:55 +0000)
commit156459c2f5e368fdd2c55fc051caeb48fd995b4c
tree0d79324b2c85df8bd82ca5a295aa1605adea020c
parent8ebce3d9a5d171b2b67b342fa9d3672f419b14b7
mv -T DIR EMPTY_DIR no longer fails

(copy_internal): Don't manually prohibit a move where
the destination is an existing directory.  Sometimes doing that is
valid.  Let the rename system call enforce the rules.  That is
allowed only when the source is a directory and the destination
directory (to be replaced) is empty.  Reported by Eric Blake.
src/copy.c