Fix crash when importing partfiles with the "Preallocate space for new files" prefere... amule-svn-r10920
commitf2c05727c232b607be5a3b8b78279a669b1e7ef3
authorupstream svn <svn@amule.org>
Sat, 16 Apr 2016 19:16:44 +0000 (16 19:16 +0000)
committerDévai Tamás <gonosztopi@amule.org>
Sun, 17 Apr 2016 01:57:37 +0000 (17 01:57 +0000)
tree83755b97903ac28fe5082fc9447e7ec90721dcdd
parent49b4fa52240a18785c3a916756e309a459d78708
Fix crash when importing partfiles with the "Preallocate space for new files" preference option enabled

Imported parfiles won't have their space preallocated even if it is requested
in the preferences. The whole importing strategy should be changed for that, and
we'd lose many optimizations meanwhile.

On the other hand, the "create sparse files" preference setting is taken into
account.
.svn-revision
docs/Changelog
src/PartFile.cpp
src/PartFile.h
src/PartFileConvert.cpp