base: Clamp IO operation size to 2GB on Darwin

Authored by bgamari on Tue, Oct 29, 8:46 AM.

Description

base: Clamp IO operation size to 2GB on Darwin

As reported in Trac #17414, Darwin throws EINVAL in response to large
writes.

(cherry picked from commit 08810f123eb3b49bcfb3dd1d46284ec9d53d2612)

Details

Committed
bgamariSun, Nov 3, 11:56 AM
Parents
rGHC061f7f9b06f0: Fix LLVM version check yet again
Branches
Unknown
Tags
Unknown