Обсуждение: pgsql: Create wrapper pgwin32_safestat() and redefine stat() to it on

Поиск
Список
Период
Сортировка

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

От
mha@postgresql.org (Magnus Hagander)
Дата:
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)