pgsql: Make sure pg_control is opened in binary mode, to deal with

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make sure pg_control is opened in binary mode, to deal with
Date: 2008-09-24 08:59:42
Message-ID: 20080924085942.984E07545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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

Modified Files:
--------------
pgsql/src/bin/pg_controldata:
pg_controldata.c (r1.40 -> r1.41)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_controldata/pg_controldata.c?r1=1.40&r2=1.41)
pgsql/src/bin/pg_resetxlog:
pg_resetxlog.c (r1.66 -> r1.67)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_resetxlog/pg_resetxlog.c?r1=1.66&r2=1.67)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2008-09-24 08:59:44 pgsql: Make sure pg_control is opened in binary mode, to deal with
Previous Message Magnus Hagander 2008-09-23 21:12:03 pgsql: Only show source file and line numbers to superusers, for