add StripMacResourceForks(); hopefully prevents things like issue 178 ( http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=178 ) from happening again
This commit is contained in:
@@ -1189,6 +1189,16 @@ void StripCvsAndSvn( vector<RString> &vs )
|
||||
RemoveIf( vs, CVSOrSVN );
|
||||
}
|
||||
|
||||
static bool MacResourceFork( const RString& s )
|
||||
{
|
||||
return s.Left(2).EqualsNoCase("._");
|
||||
}
|
||||
|
||||
void StripMacResourceForks( vector<RString> &vs )
|
||||
{
|
||||
RemoveIf( vs, MacResourceFork );
|
||||
}
|
||||
|
||||
/* path is a .redir pathname. Read it and return the real one. */
|
||||
RString DerefRedir( const RString &_path )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user