mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONFIG: always allow spaces in fileName for Windows (#1238)
- this cannot be left as a configurable value (on windows), since it needs to be enabled even prior to reading the etc/controlDict file, in case the OpenFOAM installation path itself contains spaces.
This commit is contained in:
committed by
Andrew Heather
parent
4b8fabaa4b
commit
eda4cbd55c
@ -42,7 +42,7 @@ int Foam::fileName::debug(Foam::debug::debugSwitch(fileName::typeName, 0));
|
||||
int Foam::fileName::allowSpaceInFileName
|
||||
(
|
||||
#ifdef _WIN32
|
||||
Foam::debug::infoSwitch("allowSpaceInFileName", 1)
|
||||
1 // Windows: expect spaces to occur
|
||||
#else
|
||||
Foam::debug::infoSwitch("allowSpaceInFileName", 0)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user