Commit d0c3defe authored by Committed by Oleg Grenrus
Don't break when data-dir is null.
PR #5284 changed things around, and now matchDirFileGlob will break if it's passed a null directory, which happens to be the default value for data-dir. Its call sites have been fixed to check for this and to substitute '.' for an empty path, which is the desired behaviour; in addition, matchDirFileGlob itself will now warn about this if it's detected, so that new broken call sites can't sneak in. Fixes #5318.
Showing with 54 additions and 4 deletions