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)
commit7da7f1ec92e597d9c01e9b11a2d57b0886bfa3be
tree55fe97fdc7f6b2e2c0054f8eb52999b8d512fd9e
parentde1986bdc129b4688d94a8bef35154700b761057
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