attempt at fixing the re-hash bug. Now only using canonicalized filenames in hash cache

This commit is contained in:
csoler 2017-10-02 22:23:26 +02:00
parent 22942dc70b
commit d61a5cd5ab
3 changed files with 9 additions and 6 deletions

View file

@ -494,7 +494,8 @@ bool p3FileDatabase::loadList(std::list<RsItem *>& load)
for(uint32_t i=0;i<kit->value.size();++i)
if(kit->value[i] == ';')
{
ignored_suffixes.push_back(b) ;
if(!b.empty()) // security!
ignored_suffixes.push_back(b) ;
b.clear();
}
else