]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make sure pg_control is opened in binary mode, to deal
authorMagnus Hagander <magnus@hagander.net>
Wed, 24 Sep 2008 08:59:44 +0000 (08:59 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 24 Sep 2008 08:59:44 +0000 (08:59 +0000)
commitc4e5ec592fb04def28fbcb63da6573520047d89c
tree60abc2bced78f5774af4c35f0e7df49321450867
parent6967e894fdf930f320cc948f6110b8b70a3e3219
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