if(pkg_dirs.empty())
{
- for(list<FS::Path>::const_iterator i=pkg_path.begin(); i!=pkg_path.end(); ++i)
+ for(SearchPath::const_iterator i=pkg_path.begin(); i!=pkg_path.end(); ++i)
{
builder.get_logger().log("files", format("Traversing %s", *i));
list<string> files = list_files(*i);
}
bool msp = !name.compare(0, 3, "msp");
- for(list<FS::Path>::const_iterator i=pkg_dirs.begin(); i!=pkg_dirs.end(); ++i)
+ for(SearchPath::const_iterator i=pkg_dirs.begin(); i!=pkg_dirs.end(); ++i)
{
- string base = basename(*i);
+ string base = FS::basename(*i);
unsigned dash = base.rfind('-');
if(!base.compare(0, dash, name))