Merge branch 'master' into objc-intrinsics

This commit is contained in:
gingerBill committed 2022-02-12 21:49:48 +00:00
commit b8479ea79d
3 files changed
+3 -4

No files matched your search

+1 -2
View File
@@ -227,11 +227,10 @@ glob :: proc(pattern: string, allocator := context.allocator) -> (matches: []str
return m[:], .None
}
temp_buf: [8]byte
dir, file := split(pattern)
volume_len := 0
when ODIN_OS == "windows" {
temp_buf: [8]byte
volume_len, dir = clean_glob_path_windows(dir, temp_buf[:])
} else {
dir = clean_glob_path(dir)