DirName = bbGetInputIn();
bool rec = bbGetInputRecursive();
/*int nbFiles = */ Explore(DirName, rec);
- CleanFilenames( bbGetInputIn() );
+ CleanFilenames( DirName );
bbSetOutputOut(Filenames);
bbSetOutputOutSimple(SimpleFilenames);
}
std::string name = pathname;
int size = name.size();
- if ( name[size-1] != FILESEPARATOR )
+ if (!((name[size-1]=='/')||(name[size-1]=='\\')))
{
name += FILESEPARATOR;
}