Commit a266811
committed
🦫 mmap: move away from calling Fd() directly on windows
Starting from Go 1.25, Fd() on windows will have the same side effect of turning the file into blocking mode. We don't open the file in non-blocking mode, but we also don't like the new side effect. Nonetheless, it's never a bad thing to unify the implementations.1 parent 0bb1f47 commit a266811
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
12 | 24 | | |
13 | 25 | | |
14 | 26 | | |
| |||
0 commit comments