-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: check mmap result Check if mmap failed (return value MAP_FAILED) and, if yes, exit. * feat: fallback to pread() if file mmap failed * fix: initialize zero buffer for uninitialized mapping
- Loading branch information
1 parent
c1e911f
commit 1256631
Showing
1 changed file
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters