Fix read_dir on OSX

This commit is contained in:
Ricardo Silva
2021-09-13 12:34:36 +01:00
parent b712c84afb
commit 01aa0c4151
2 changed files with 6 additions and 7 deletions
-2
View File
@@ -19,8 +19,6 @@ read_dir :: proc(fd: Handle, n: int, allocator := context.allocator) -> (fi: []F
return
}
defer delete(dirpath)
n := n
size := n
if n <= 0 {