Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
18052b8
)
Fix bug SMESH5528 (The compilation fails on the file SMESHDriver.cxx using gcc2.95.4).
author
jrt
<jrt>
Wed, 24 Mar 2004 17:31:44 +0000
(17:31 +0000)
committer
jrt
<jrt>
Wed, 24 Mar 2004 17:31:44 +0000
(17:31 +0000)
src/Driver/SMESHDriver.cxx
patch
|
blob
|
history
diff --git
a/src/Driver/SMESHDriver.cxx
b/src/Driver/SMESHDriver.cxx
index 696c00d884afe71ea8006eacdd1aa84288c6db0b..e98932a808bc513c200b8148650bd0873febff3e 100644
(file)
--- a/
src/Driver/SMESHDriver.cxx
+++ b/
src/Driver/SMESHDriver.cxx
@@
-73,7
+73,7
@@
void * SMESHDriver::getMeshDriver(string extension, string type)
void * handle = dlopen(libName.c_str(), RTLD_LAZY);
if(!handle)
{
void * handle = dlopen(libName.c_str(), RTLD_LAZY);
if(!handle)
{
-
fputs (dlerror(), stderr)
;
+
cerr << dlerror() << endl
;
return NULL;
}
else
return NULL;
}
else
@@
-83,7
+83,7
@@
void * SMESHDriver::getMeshDriver(string extension, string type)
factory = (void * (*)()) dlsym(handle, symbol.c_str());
if(factory==NULL)
{
factory = (void * (*)()) dlsym(handle, symbol.c_str());
if(factory==NULL)
{
-
fputs (dlerror(), stderr)
;
+
cerr << dlerror() << endl
;
return NULL;
}
else return factory();
return NULL;
}
else return factory();
@@
-96,7
+96,7
@@
void * SMESHDriver::getMeshDocumentDriver(string extension)
void * handle = dlopen(libName.c_str(), RTLD_LAZY);
if(!handle)
{
void * handle = dlopen(libName.c_str(), RTLD_LAZY);
if(!handle)
{
-
fputs (dlerror(), stderr)
;
+
cerr << dlerror() << endl
;
return NULL;
}
else
return NULL;
}
else
@@
-106,7
+106,7
@@
void * SMESHDriver::getMeshDocumentDriver(string extension)
factory = (void * (*)()) dlsym(handle, symbol.c_str());
if(factory==NULL)
{
factory = (void * (*)()) dlsym(handle, symbol.c_str());
if(factory==NULL)
{
-
fputs (dlerror(), stderr)
;
+
cerr << dlerror() << endl
;
return NULL;
}
else return factory();
return NULL;
}
else return factory();