biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch release-5-0
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxlib
/
copyrite.cpp
diff --git
a/src/gromacs/gmxlib/copyrite.cpp
b/src/gromacs/gmxlib/copyrite.cpp
index 3c1eea513d75d5ce8780cfe2bab4a0c4f6f91ddc..73e6c45732f51bb2215c81638287f13860494b71 100644
(file)
--- a/
src/gromacs/gmxlib/copyrite.cpp
+++ b/
src/gromacs/gmxlib/copyrite.cpp
@@
-628,11
+628,15
@@
const char *ShortProgram(void)
const char *Program(void)
{
+ const char *programName = NULL;
+
try
{
-
return
gmx::getProgramContext().fullBinaryPath();
+
programName =
gmx::getProgramContext().fullBinaryPath();
}
GMX_CATCH_ALL_AND_EXIT_WITH_FATAL_ERROR;
+
+ return programName;
}