diff options
| author | gingerBill <bill@gingerbill.org> | 2022-07-25 12:12:32 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-07-25 12:12:32 +0100 |
| commit | bce8819ed54623677ea17699128f9a16c7d9c8d6 (patch) | |
| tree | 42ef7f36c0873e7e801c83b37465378063028fa7 | |
| parent | 5f2b220a850c6812bb7b5e4d778be37d8dc8962b (diff) | |
| parent | f174c805a9bc9ff984c89789776f3f2b2fd831d5 (diff) | |
Merge branch 'master' of https://github.com/odin-lang/Odin
| -rw-r--r-- | core/path/filepath/match.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/path/filepath/match.odin b/core/path/filepath/match.odin index 00a9c9fb0..c932f202a 100644 --- a/core/path/filepath/match.odin +++ b/core/path/filepath/match.odin @@ -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 { return } |