mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix -[NSFileManager contentsOfDirectoryAtURL:...]
This commit is contained in:
parent
df743e6d52
commit
52548e3d09
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2023-04-26 Frederik Seiffert <frederik@algoriddim.com>
|
||||
|
||||
* Tests/base/NSFileManager/general.m:
|
||||
* Source/NSFileManager.m:
|
||||
Add test for and fix -[NSFileManager contentsOfDirectoryAtURL:...]
|
||||
implementation not working correctly if directory did not match
|
||||
current working directory.
|
||||
|
||||
2022-04-13 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSSocketPort.m: set listening socket into non-blocking mode
|
||||
|
|
|
@ -837,7 +837,7 @@ static NSStringEncoding defaultEncoding;
|
|||
NSURL *tempURL;
|
||||
NSString *lastComponent;
|
||||
|
||||
tempURL = [NSURL fileURLWithPath: tempPath];
|
||||
tempURL = [NSURL fileURLWithPath: tempPath relativeToURL: url];
|
||||
lastComponent = [tempPath lastPathComponent];
|
||||
|
||||
/* we purge files beginning with . */
|
||||
|
|
Loading…
Reference in a new issue