base: Fix open-file locking

Authored by bgamari on Oct 22 2019, 3:07 PM.

Description

base: Fix open-file locking

The OFD locking path introduced in
3b784d440d4b01b4c549df7c9a3ed2058edfc780 due to Trac #13945 appears to have
never actually worked but we never noticed due to an oversight in the
autoconf check. Fix it.

Thanks to Oleg Grenrus for noticing this.

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>Tue, Oct 29, 2:48 AM
Parents
rGHCd7cedd9d74e5: hadrian: Drop -Werror=unused-but-set-variable from GHC flags
Branches
Unknown
Tags
Unknown
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC7d3a15c7afa2: base: Fix open-file locking (authored by bgamari).Tue, Oct 29, 2:48 AM