mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 11:19:07 +00:00
Changed: Use CFile::createEmptyFile()
This commit is contained in:
parent
e7cdb7cde8
commit
f675848e1e
1 changed files with 1 additions and 2 deletions
|
@ -346,8 +346,7 @@ void CPackageDescription::generatePatches(CBNPFileSet& packageIndex) const
|
||||||
if (packageIndex.getFile(i).versionCount()==1)
|
if (packageIndex.getFile(i).versionCount()==1)
|
||||||
{
|
{
|
||||||
prevVersionFileName= _RootDirectory + "empty";
|
prevVersionFileName= _RootDirectory + "empty";
|
||||||
NLMISC::COFile tmpFile(prevVersionFileName);
|
CFile::createEmptyFile(prevVersionFileName);
|
||||||
tmpFile.close();
|
|
||||||
usingTemporaryFile = true;
|
usingTemporaryFile = true;
|
||||||
deleteRefAfterDelta= false;
|
deleteRefAfterDelta= false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue