diff --git a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C index fd4bf8e38..757744c23 100644 --- a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C +++ b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C @@ -90,7 +90,7 @@ Foam::fileOperations::masterUncollatedFileOperation::findInstancePath } -Foam::fileName Foam::fileOperations::masterUncollatedFileOperation::filePath +Foam::fileName Foam::fileOperations::masterUncollatedFileOperation::filePathInfo ( const bool checkGlobal, const bool isFile, @@ -707,7 +707,14 @@ Foam::fileName Foam::fileOperations::masterUncollatedFileOperation::filePath word newInstancePath; if (Pstream::master()) { - objPath = filePath(checkGlobal, true, io, searchType, newInstancePath); + objPath = filePathInfo + ( + checkGlobal, + true, + io, + searchType, + newInstancePath + ); } { label masterType(searchType); @@ -777,7 +784,14 @@ Foam::fileName Foam::fileOperations::masterUncollatedFileOperation::dirPath word newInstancePath; if (Pstream::master()) { - objPath = filePath(checkGlobal, false, io, searchType, newInstancePath); + objPath = filePathInfo + ( + checkGlobal, + false, + io, + searchType, + newInstancePath + ); } { label masterType(searchType); diff --git a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H index 3d9a6b8b9..f89f7e35f 100644 --- a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H +++ b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.H @@ -366,10 +366,10 @@ protected: const instant& t ); - //- Search for object; return info on how was found + //- Search for object; return info on how it was found // checkGlobal : also check undecomposed case // isFile : true:check for file false:check for directory - fileName filePath + fileName filePathInfo ( const bool checkGlobal, const bool isFile,