pgsql: Don't try to close negative file descriptors, since this can - Mailing list pgsql-committers

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Don't try to close negative file descriptors, since this can
Date
Msg-id 20080513205354.4B8457559E9@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Don't try to close negative file descriptors, since this can cause
crashes on certain platforms. In particular, the MSVC runtime is known
to do this.

Fixes bug #4162, reported and diagnosed by Javier Pimas

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xlog.c (r1.125.2.4 -> r1.125.2.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.125.2.4&r2=1.125.2.5)

pgsql-committers by date:

Previous
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Don't try to close negative file descriptors, since this can
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Don't try to close negative file descriptors, since this can