diff options
author | João Abecasis <joao@abecasis.name> | 2009-04-15 12:17:20 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-05-22 12:33:38 (GMT) |
commit | 562adecf4f938f593674f03b425a79b89e238518 (patch) | |
tree | 138b25d24fb4d51ddd41c2790917eca3280d3a8e /tests/auto/qreadlocker | |
parent | 1cfb5bcaa2cab142479ee975e25d9f605f852dad (diff) | |
download | Qt-562adecf4f938f593674f03b425a79b89e238518.zip Qt-562adecf4f938f593674f03b425a79b89e238518.tar.gz Qt-562adecf4f938f593674f03b425a79b89e238518.tar.bz2 |
Don't block copy sequential files in QFile::rename
Block copying a sequential file is potentially a destructive operation,
because there is no guarantee copy+remove will succeed. In these cases
the fallback should not be tried.
The user is better equipped to decide how to handle such failures and to
ensure no data losses occur, e.g., copy without removing the original
file.
Reviewed-by: MariusSO
Reviewed-by: Peter Hartmann
Reviewed-by: Thiago
Diffstat (limited to 'tests/auto/qreadlocker')
0 files changed, 0 insertions, 0 deletions