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

From [email protected] (Magnus Hagander)
Subject pgsql: Don't try to close negative file descriptors, since this can
Date
Msg-id [email protected]
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

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xlog.c (r1.307 -> r1.308)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.307&r2=1.308)

pgsql-committers by date:

Previous
From: [email protected] (User Gsmet)
Date:
Subject: pgfouine - pgfouine: moved from Vera to DejaVuSans
Next
From: [email protected] (Magnus Hagander)
Date:
Subject: pgsql: Don't try to close negative file descriptors, since this can