mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch2
This commit is contained in:
commit
c8ab7a3bc2
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue