libgit2/libgit2 — pull request #2685 by carlosmn (2014-11-03 12:50:41+00:00)
Title: Fix segmentation fault observed on OpenBSD/sparc64

A non-readable mapping of a file causes an access violation in
the pack tests. Always use PROT_READ to work around this.

---

Computers are weird. It doesn't hurt to always map at least readable. I'm :+1: on this but am biased as I'm sat next to Stefan.