Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
proper handling of corba file dump path
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo authored and OpenModelica-Hudson committed Jul 20, 2017
1 parent d51f346 commit 9ebc68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/runtime/corbaimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Please stop or kill the other OMC process first!\nOpenModelica OMC will now exit
/* get the temporary directory */
/* if corbaObjectReferenceFilePath value is set and is a valid directory then use it for dumping the object reference file. */
const char* tempPath = NULL;
if (!corbaObjectReferenceFilePath && SystemImpl__directoryExists(corbaObjectReferenceFilePath))
if (corbaObjectReferenceFilePath && SystemImpl__directoryExists(corbaObjectReferenceFilePath))
tempPath = corbaObjectReferenceFilePath;
else
tempPath = SettingsImpl__getTempDirectoryPath();
Expand Down

0 comments on commit 9ebc68c

Please sign in to comment.