[bug #13728] superflous copying instead of moving

2005-07-12 Thread Oswald Buddenhagen
Follow-up Comment #4, bug #13728 (project mc): Does `bar/name/' contain any entries or is it empty ? empty, but this should not matter. i don't think we want this susv3-compliant behavior. at the top level, if the target is an existing directory (empty or not), we want to move _into_ this

[bug #13728] superflous copying instead of moving

2005-07-11 Thread Oswald Buddenhagen
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13728 Summary: superflous copying instead of moving Project: GNU Midnight Commander Submitted by: ossi Submitted on: Mon 07/11/2005 at 15:44 Category: Core

[bug #13728] superflous copying instead of moving

2005-07-11 Thread Pavel Tsekov
Follow-up Comment #1, bug #13728 (project mc): Unfortunately there is nothing to fix here :( If the destination directory exits, MC decides to use copy_dir_dir() to perform the task. What you ask should be fully implemented from scratch. In fact move_dir_dir() is quite simplistic.