Commit 0af2e06
fix(cache): use correct mmap-go constant for read-write mapping
mmap.MapRegion expects the library's own constants (mmap.RDWR), not raw
unix PROT_* flags. Passing unix.PROT_READ|unix.PROT_WRITE (=3) happened
to work due to numerical coincidence, but is fragile.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>1 parent d354f78 commit 0af2e06
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
0 commit comments