projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix NULL-reference due to diagnosticInformation being optional
[metaproxy-moved-to-github.git]
/
src
/
tstdl.cpp
diff --git
a/src/tstdl.cpp
b/src/tstdl.cpp
index
4f3eb66
..
78dd1bb
100644
(file)
--- a/
src/tstdl.cpp
+++ b/
src/tstdl.cpp
@@
-1,7
+1,7
@@
-/* $Id: tstdl.cpp,v 1.1 2005-12-10 09:59:10 adam Exp $
- Copyright (c) 2005, Index Data.
+/* $Id: tstdl.cpp,v 1.4 2006-06-10 14:29:13 adam Exp $
+ Copyright (c) 2005-2006, Index Data.
-%LICENSE%
+ See the LICENSE file for details
*/
#include "config.hpp"
*/
#include "config.hpp"
@@
-25,7
+25,7
@@
int main(int argc, char **argv)
void *mod = dlopen(argv[1][0] ? argv[1] : 0, RTLD_NOW|RTLD_LOCAL);
if (!mod)
{
void *mod = dlopen(argv[1][0] ? argv[1] : 0, RTLD_NOW|RTLD_LOCAL);
if (!mod)
{
- cerr << "dlopen failed for file " << argv[1] <<
+ cerr << "dlopen failed for file '" << argv[1] << "'\n" <<
"dlerror=" << dlerror() << endl;
exit(1);
}
"dlerror=" << dlerror() << endl;
exit(1);
}