mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 07:36:16 +00:00
Changed: Use CFile::createEmptyFile()
--HG-- branch : develop
This commit is contained in:
parent
fdc8ddb9f4
commit
a0c60bc896
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)
|
||||
{
|
||||
prevVersionFileName= _RootDirectory + "empty";
|
||||
NLMISC::COFile tmpFile(prevVersionFileName);
|
||||
tmpFile.close();
|
||||
CFile::createEmptyFile(prevVersionFileName);
|
||||
usingTemporaryFile = true;
|
||||
deleteRefAfterDelta= false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue