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

Started by Magnus Haganderover 18 years ago1 messagescomitters
Jump to latest
#1Magnus Hagander
magnus@hagander.net

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_3_STABLE

Modified Files:
--------------
pgsql/src/backend/access/transam:
xlog.c (r1.292.2.3 -> r1.292.2.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.292.2.3&r2=1.292.2.4)