pgsql: Call SetLastError(0) before calling the file mapping functions to

Поиск
Список
Период
Сортировка
От mha@postgresql.org (Magnus Hagander)
Тема pgsql: Call SetLastError(0) before calling the file mapping functions to
Дата
Msg-id 20090504083644.492FD75331D@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Call SetLastError(0) before calling the file mapping functions
to make sure that the error code is reset, as a precaution in
case the API doesn't properly reset it on success. This could
be necessary, since we check the error value even if the function
doesn't fail for specific success cases.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/port:
        win32_shmem.c (r1.4.2.2 -> r1.4.2.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/win32_shmem.c?r1=1.4.2.2&r2=1.4.2.3)

В списке pgsql-committers по дате отправления:

Предыдущее
От: mha@postgresql.org (Magnus Hagander)
Дата:
Сообщение: pgsql: Call SetLastError(0) before calling the file mapping functions to
Следующее
От: mha@postgresql.org (Magnus Hagander)
Дата:
Сообщение: pgsql: Update no longer current comments in header.