Fix casing of shared and add DT_DIR to readdir

This commit is contained in:
Senthil 2016-03-16 14:09:29 -07:00
parent 88fc96803a
commit 0a5d95d2ad
2 changed files with 2 additions and 1 deletions

View file

@ -29,7 +29,7 @@ pal::string_t fx_muxer_t::resolve_fx_dir(const pal::string_t& muxer_dir, runtime
}
auto fx_dir = muxer_dir;
append_path(&fx_dir, _X("Shared"));
append_path(&fx_dir, _X("shared"));
append_path(&fx_dir, fx_name.c_str());
// If not roll forward or if pre-release, just return.

View file

@ -202,6 +202,7 @@ void pal::readdir(const pal::string_t& path, std::vector<pal::string_t>* list)
// We are interested in files only
switch (entry->d_type)
{
case DT_DIR:
case DT_REG:
break;