Merge branch '2.2' into develop

This commit is contained in:
Markus Mäkelä
2018-06-20 14:43:03 +03:00
8 changed files with 78 additions and 6 deletions

View File

@ -755,7 +755,7 @@ int config_cb(const char* fpath, const struct stat *sb, int typeflag, struct FTW
const char* filename = fpath + ftwbuf->base;
const char* dot = strrchr(filename, '.');
if (dot) // that must have a suffix,
if (dot && *filename != '.') // that have a suffix and are not hidden,
{
const char* suffix = dot + 1;