Time::purgeWrite: Corrected handling of collated processors directory
Resolves bug-report https://bugs.openfoam.org/view.php?id=2667
This commit is contained in:
parent
af02f92b9e
commit
3fe7aa77e6
1 changed files with 7 additions and 1 deletions
|
|
@ -551,7 +551,13 @@ bool Foam::Time::writeObject
|
|||
|
||||
while (previousWriteTimes_.size() > purgeWrite_)
|
||||
{
|
||||
rmDir(objectRegistry::path(previousWriteTimes_.pop()));
|
||||
fileHandler().rmDir
|
||||
(
|
||||
fileHandler().filePath
|
||||
(
|
||||
objectRegistry::path(previousWriteTimes_.pop())
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue