Skip to content

Commit

Permalink
fix linux build.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18962 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Feb 3, 2014
1 parent 38ea0ed commit 606cda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/main.cpp
Expand Up @@ -115,7 +115,7 @@ void signalHandler(int signum)
}
// Dump a stack trace to a file.
QFile stackTraceFile;
user = getenv("USER");
char *user = getenv("USER");
if (!user) { user = "nobody"; }
stackTraceFile.setFileName(QString("%1/OpenModelica/OMEdit/openmodelica.%2.stacktrace.%3").arg(QDir::tempPath()).arg(QString(user)).arg(Helper::OMCServerName));
if (stackTraceFile.open(QIODevice::WriteOnly | QIODevice::Text))
Expand Down

0 comments on commit 606cda2

Please sign in to comment.