mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 06:38:47 +00:00
Merge branch 'master' into odin-global-constants-as-enums
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user