Fix casing of shared and add DT_DIR to readdir
This commit is contained in:
parent
88fc96803a
commit
0a5d95d2ad
2 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue