Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
commit
bce8819ed5
1 file changed
+1
-1
@@ -271,7 +271,7 @@ _glob :: proc(dir, pattern: string, matches: ^[dynamic]string, allocator := cont
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
d, derr := os.open(dir)
|
d, derr := os.open(dir, os.O_RDONLY)
|
||||||
if derr != 0 {
|
if derr != 0 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user