Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch2

This commit is contained in:
Gregory John Casamento 2020-06-11 09:38:20 -04:00
commit c8ab7a3bc2

View file

@ -2237,7 +2237,9 @@ IF_NO_GC(
subPath: subPath localization: nil] objectEnumerator];
while ((path = [pathlist nextObject]) != nil)
{
if (YES == [mgr isReadableFileAtPath: path])
NSString *lastPathComponent = [path lastPathComponent];
if ([lastPathComponent isEqualToString:file]
&& [mgr isReadableFileAtPath: path])
{
return path;
}