pgsql: Create wrapper pgwin32_safestat() and redefine stat() to it on - Mailing list pgsql-committers

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Create wrapper pgwin32_safestat() and redefine stat() to it on
Date
Msg-id 20080410165851.6AB807559CC@cvs.postgresql.org
Whole thread Raw
List 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.

Modified Files:
--------------
    pgsql/src/include:
        port.h (r1.118 -> r1.119)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port.h?r1=1.118&r2=1.119)
    pgsql/src/port:
        dirmod.c (r1.51 -> r1.52)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/dirmod.c?r1=1.51&r2=1.52)

pgsql-committers by date:

Previous
From: dim@pgfoundry.org (User Dim)
Date:
Subject: prefix - prefix: fix gpr_consistent() key retrieval from GiST parameters
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Create wrapper pgwin32_safestat() and redefine stat() to it on