pgsql: Don't try to close negative file descriptors, since this can

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't try to close negative file descriptors, since this can
Date: 2008-05-13 20:53:58
Message-ID: 20080513205358.4ADBE7559E9@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/src/backend/access/transam:
xlog.c (r1.222.2.6 -> r1.222.2.7)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.222.2.6&r2=1.222.2.7)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2008-05-13 20:54:00 pgsql: Don't try to close negative file descriptors, since this can
Previous Message Magnus Hagander 2008-05-13 20:53:56 pgsql: Don't try to close negative file descriptors, since this can