Revision c7b52c58
Von aquamaniac vor mehr als 21 Jahren hinzugefügt
src/os/posix/libloader.c | ||
---|---|---|
GWEN_Error_FindType(GWEN_LIBLOADER_ERROR_TYPE),
|
||
GWEN_LIBLOADER_ERROR_COULD_NOT_LOAD);
|
||
}
|
||
#else // for linux and others
|
||
#else /* for linux and others */
|
||
h->handle=dlopen(name,RTLD_LAZY);
|
||
if (!h->handle) {
|
||
fprintf(stderr,
|
||
... | ... | |
GWEN_LIBLOADER_ERROR_NOT_OPEN);
|
||
#ifndef OS_WIN32
|
||
/* hmm, linux does not like this with libtowitoko.so and qlcsetup */
|
||
//result=(dlclose(_handle)==0);
|
||
if (dlclose(h->handle)!=0) {
|
||
fprintf(stderr,
|
||
"LIBCHIPCARD: Error unloading library: %s\n",
|
||
... | ... | |
break;
|
||
default:
|
||
s=(const char*)0;
|
||
} // switch
|
||
} /* switch */
|
||
return s;
|
||
}
|
||
|
Auch abrufbar als: Unified diff
- fixed some compiler warnings
- more work on IPC
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@85 70169cfe-8b10-0410-8925-dcb4b91034d8