wimlib_write(): Add WIMLIB_WRITE_FLAG_FSYNC
authorEric Biggers <ebiggers3@gmail.com>
Mon, 19 Nov 2012 03:24:52 +0000 (21:24 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Mon, 19 Nov 2012 03:24:52 +0000 (21:24 -0600)
commitdc63267ac1da2b75837689e400eed0400e764f4d
treeb2c57e25710bf29df3e550cd8d619712e3e2d8d6
parent5cc26816b770672dbcbf68c07c4aae72d9ac3a32
wimlib_write(): Add WIMLIB_WRITE_FLAG_FSYNC

Use WIMLIB_WRITE_FLAG_FSYNC to request that fsync() is called on the file
descriptor for the WIM being written, before closing it.

Done by default when wimlib_write() is called through wimlib_overwrite().
src/modify.c
src/wim.c
src/wimlib.h
src/wimlib_internal.h
src/write.c