ENH: Add documentation on the problem with system wide path for looking up dynamic libraries. STYLE: Fix trailing white spaces

This commit is contained in:
Mathieu Malaterre 2006-03-10 16:03:26 -05:00
parent 87fdcd6eb6
commit 8e7d92049e
2 changed files with 40 additions and 32 deletions

View File

@ -64,6 +64,14 @@ typedef void (*DynamicLoaderFunction)();
*
* Directory currently works with Windows, Apple, HP-UX and Unix (POSIX)
* operating systems
*
* \warning dlopen on *nix system works the following way:
* If filename contains a slash ("/"), then it is interpreted as a (relative or absolute)
* pathname. Otherwise, the dynamic linker searches for the library as follows :
* see ld.so(8) for further details):
* Whereas this distinction does not exist on Win32. Therefore ideally you should be doing
* full path to garantee to have a consistent way of dealing with dynamic loading of shared
* library.
*/
class @KWSYS_NAMESPACE@_EXPORT DynamicLoader

View File

@ -205,7 +205,7 @@ public:
/**
* Return string with space added between capitalized words
* (i.e. EatMyShorts becomes Eat My Shorts
* (i.e. EatMyShorts becomes Eat My Shorts )
*/
static kwsys_stl::string AddSpaceBetweenCapitalizedWords(
const kwsys_stl::string&);