rem: dir_names = kvu_string_to_vector(string(), ':');
add: dir_names = kvu_string_to_vector(string(env), ':');
context: static void eca_import_ladspa_plugins(ECA_OBJECT_MAP* objmap, bool reg_with_id){  DIR *dp;  vector<string> dir_names;  char* env = std::getenv("LADSPA_PATH");  if (env != 0) {    dir_names = kvu_string_to_vector(string(), ':');  }  ECA_RESOURCES ecarc;  string add_file = ecarc.resource("ladspa-plugin-directory");  if (std::find(dir_names.begin(), dir_names.end(), add_file) == dir_names.end()) dir_names.push_back(add_file);  struct stat statbuf;  vector<string>::const_iterator p = dir_names.begin();  while (p != dir_names.end()) {    dp = opendir(p->c_str());    if (dp != 0) {      struct dirent *entry = readdir(dp);      while(entry != 0) {	lstat(entry->d_name, &statbuf);	vector<EFFECT_LADSPA*> ladspa_plugins;	try {	  string entry_name (entry->d_name);	  if (entry_name.size() > 0 && entry_name[0] != '.')	    ladspa_plugins = eca_create_ladspa_plugins(*p + "/" + entry_name);	}	catch(ECA_ERROR& e) {  }	for(unsigned int n = 0; n < ladspa_plugins.size(); n++) {	  if (reg_with_id == true) {	    objmap->register_object(kvu_numtostr(ladspa_plugins[n]->unique_number()),				    kvu_numtostr(ladspa_plugins[n]->unique_number()), 				    ladspa_plugins[n]);	  }	  else {	    objmap->register_object(ladspa_plugins[n]->unique(), "^" + ladspa_plugins[n]->unique() + "$", ladspa_plugins[n]);	  }	}	entry = readdir(dp);      }    }    ++p;  }}