Make sure pg_control is opened in binary mode, to deal
authorMagnus Hagander <magnus@hagander.net>
Wed, 24 Sep 2008 08:59:46 +0000 (08:59 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 24 Sep 2008 08:59:46 +0000 (08:59 +0000)
commit370e3a434e76070877502ef5cead1ced05550c9d
tree1a4497548af39d92034a8efe93af83e0faae8dad
parentccd854140689a6cef9ed75825a1239fab695d0c9
Make sure pg_control is opened in binary mode, to deal
with situtations when the file contains an EOF maker
(0x1A) on Windows.

ITAGAKI Takahiro
src/bin/pg_controldata/pg_controldata.c
src/bin/pg_resetxlog/pg_resetxlog.c