Merge pull request #1911 from schellap/deps-json2
Fix casing of shared and add DT_DIR to readdir
This commit is contained in:
commit
8ab2bae472
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;
|
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());
|
append_path(&fx_dir, fx_name.c_str());
|
||||||
|
|
||||||
// If not roll forward or if pre-release, just return.
|
// 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
|
// We are interested in files only
|
||||||
switch (entry->d_type)
|
switch (entry->d_type)
|
||||||
{
|
{
|
||||||
|
case DT_DIR:
|
||||||
case DT_REG:
|
case DT_REG:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue