/[svn]/linuxsampler/trunk/src/common/DynamicLibraries.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/DynamicLibraries.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3033 by persson, Wed Sep 22 20:19:08 2010 UTC revision 3034 by schoenebeck, Mon Oct 31 00:05:00 2016 UTC
# Line 1  Line 1 
1  /*  /*
2      Copyright (C) 2010 Christian Schoenebeck      Copyright (C) 2010-2016 Christian Schoenebeck
3  */  */
4    
5  #include "DynamicLibraries.h"  #include "DynamicLibraries.h"
# Line 93  int DynamicLibrariesSearch(String dir, S Line 93  int DynamicLibrariesSearch(String dir, S
93              continue;              continue;
94          // skip files that are not .so files          // skip files that are not .so files
95          if (sPath.length() < 3 ||          if (sPath.length() < 3 ||
96              sPath.substr(sPath.length() - 3) != ".so" &&              (sPath.substr(sPath.length() - 3) != ".so" &&
97              sPath.find(".so.") == String::npos)               sPath.find(".so.") == String::npos) )
98              continue;              continue;
99          // load the DLL          // load the DLL
100          void* pDLL = dlopen(sPath.c_str(), RTLD_NOW);          void* pDLL = dlopen(sPath.c_str(), RTLD_NOW);

Legend:
Removed from v.3033  
changed lines
  Added in v.3034

  ViewVC Help
Powered by ViewVC