Skip to content

Commit

Permalink
remove mac junk in getdirlisting again and add exception for ._pulse
Browse files Browse the repository at this point in the history
cuz lul
  • Loading branch information
MinaciousGrace committed May 21, 2019
1 parent a47f233 commit 1a31e74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/RageUtil/File/RageFileManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ RageFileManager::GetDirListing(const RString& sPath_,
}

UnreferenceAllDrivers(apDriverList);
StripMacResourceForks(AddTo);

if (iDriversThatReturnedFiles > 1) {
/* More than one driver returned files. Remove duplicates
Expand Down
2 changes: 1 addition & 1 deletion src/RageUtil/Utils/RageUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ StripCvsAndSvn(vector<RString>& vs)
static bool
MacResourceFork(const RString& s)
{
return s.Left(2).EqualsNoCase("._");
return s.Left(2).EqualsNoCase("._") && s != "._Pulse.sm";
}

void
Expand Down

0 comments on commit 1a31e74

Please sign in to comment.