Move fsync routines of initdb into src/common/

Peter Eisentraut <peter_e@gmx.net>

Commit: bf5bb2e85b6492c7245b9446efaf43d52a98db13
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2016-09-29T16:00:00Z
Releases: 10.0
Move fsync routines of initdb into src/common/

The intention is to used those in other utilities such as pg_basebackup
and pg_receivexlog.

From: Michael Paquier <michael.paquier@gmail.com>

Files

PathChange+/−
src/bin/initdb/initdb.c modified +11 −259
src/bin/initdb/nls.mk modified +1 −1
src/bin/pg_basebackup/nls.mk modified +1 −1
src/common/file_utils.c added +276 −0
src/common/Makefile modified +1 −1
src/include/common/file_utils.h added +22 −0
src/tools/msvc/Mkvcbuild.pm modified +1 −1