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)