Portably allocate space if there's no built in way.
commite3bea22a46bed000349a52542fd80b873e0c9932
authorKeith Rarick <kr@xph.us>
Wed, 13 May 2009 08:36:36 +0000 (13 01:36 -0700)
committerKeith Rarick <kr@xph.us>
Wed, 13 May 2009 08:36:36 +0000 (13 01:36 -0700)
treedac6f1171bafd12d8c3cb9975955d474ebb95e2f
parentb2740577e4d006acbe29061cf39bd00afb7b377f
Portably allocate space if there's no built in way.

This is mostly for FreeBSD, where I know of no way to do this efficiently. Mac
OS has an F_PREALLOCATE flag to fcntl, but we're not using that yet, so Mac
gets the slow path for now.
binlog.c