Hi, Jon Turney: wrote: "Is there a typo here and this should be an #ifndef WIN32 guard around a use of fsync(), like the other uses of fsync() in log.c?" fysnc() can be replaced with _commit() in this instance for MinGW. Thanks, Colin Harrison