Decrease locked region size on Windows to fix ERROR_LOCK_INVALID_RANGE
authorAndrzej Rybczak <electricityispower@gmail.com>
Wed, 15 Mar 2017 18:30:48 +0000 (14:30 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 15 Mar 2017 19:23:34 +0000 (15:23 -0400)
commit7e273ea28fe3630a8fede75ed28f471b7be21b5f
tree6e1304f59c46ca5b43293f5717eb720b76040d02
parentcec90709c9c8c2c2955f11b9ad29f4c99bd075db
Decrease locked region size on Windows to fix ERROR_LOCK_INVALID_RANGE

Reviewers: austin, hvr, bgamari

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3345
libraries/base/GHC/IO/Handle/Lock.hsc