]> granicus.if.org Git - postgresql/commit
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)
commit7898ff7185b7d0658e680b01dbecf61dada9c17e
tree2a77c37a84ce1b074525323ebccf4a1eff6c7fa0
parent4f792e7e3fd330aa71653f5fda510a921e4cc8cb
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