[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kio
From: David Faure <faure () kde ! org>
Date: 2004-12-20 19:37:43
Message-ID: 20041220193743.0A7EF1CF5B () office ! kde ! org
[Download RAW message or body]
CVS commit by faure:
When rename() fails, for any reason other than file_exists/dir_exists/unsupported,
i.e. a real reason (access denied, does not exist etc.), just stop the job there
instead of attempting the copy+del method.
Side effects: fixes a kio_trash bug, and doesn't leave around the destination file
when trying to move(/rename) on the same partition (consistent with "mv")
Added regression tests for move() in multiple cases, including the "access denied" case.
M +8 -2 kio/job.cpp 1.427
M +2 -4 kio/job.h 1.105
M +131 -1 tests/jobtest.cpp 1.5
M +8 -0 tests/jobtest.h 1.5
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic