version 1.26.6.1, 2007/09/26 16:05:13
|
version 1.26.6.3, 2007/09/26 22:54:15
|
|
|
String fileName = FileSystem::buildLibraryFileName(physicalName); | String fileName = FileSystem::buildLibraryFileName(physicalName); |
#endif | #endif |
| |
#if defined(PEGASUS_OS_VXWORKS) |
|
|
|
const char* env = getenv("PEGASUS_PROVIDER_DIR"); |
|
String path; |
|
|
|
if (env) |
|
{ |
|
path = String(env) + String("/") + fileName; |
|
} |
|
else |
|
{ |
|
path = FileSystem::getAbsoluteFileName( |
|
ConfigManager::getInstance()->getCurrentValue("providerDir"), |
|
fileName); |
|
} |
|
|
|
/* |
|
ATTN: remove! |
|
*/ |
|
#if 0 |
|
std::cout << physicalName << "[" << path << "]" << std::endl; |
|
#endif |
|
|
|
return path; |
|
|
|
#else /* !defined(PEGASUS_OS_VXWORKS) */ |
|
|
|
fileName = FileSystem::getAbsoluteFileName( | fileName = FileSystem::getAbsoluteFileName( |
ConfigManager::getHomedPath( | ConfigManager::getHomedPath( |
ConfigManager::getInstance()->getCurrentValue("providerDir")), | ConfigManager::getInstance()->getCurrentValue("providerDir")), |
fileName); | fileName); |
| |
#endif /* !defined(PEGASUS_OS_VXWORKS) */ |
|
|
|
return fileName; | return fileName; |
} | } |
| |