pgsql: Create wrapper pgwin32_safestat() and redefine stat() to it on

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Create wrapper pgwin32_safestat() and redefine stat() to it on
Date: 2008-04-10 16:59:42
Message-ID: 20080410165942.4705A7559CC@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Create wrapper pgwin32_safestat() and redefine stat() to it
on win32, because the stat() function in the runtime cannot
be trusted to always update the st_size field.

Per report and research by Sergey Zubkovsky.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/include:
port.h (r1.106.2.3 -> r1.106.2.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port.h?r1=1.106.2.3&r2=1.106.2.4)
pgsql/src/port:
dirmod.c (r1.44.2.1 -> r1.44.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/dirmod.c?r1=1.44.2.1&r2=1.44.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2008-04-10 18:58:15 pgsql: Add TODO URLs moved from open items queue: >
Previous Message Magnus Hagander 2008-04-10 16:59:10 pgsql: Create wrapper pgwin32_safestat() and redefine stat() to it on