Time::purgeWrite: Corrected handling of collated processors directory
Resolves bug-report https://bugs.openfoam.org/view.php?id=2667
This commit is contained in:
@ -551,7 +551,13 @@ bool Foam::Time::writeObject
|
|||||||
|
|
||||||
while (previousWriteTimes_.size() > purgeWrite_)
|
while (previousWriteTimes_.size() > purgeWrite_)
|
||||||
{
|
{
|
||||||
rmDir(objectRegistry::path(previousWriteTimes_.pop()));
|
fileHandler().rmDir
|
||||||
|
(
|
||||||
|
fileHandler().filePath
|
||||||
|
(
|
||||||
|
objectRegistry::path(previousWriteTimes_.pop())
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user