]> granicus.if.org Git - postgresql/commit
Don't try to close negative file descriptors, since this can cause
authorMagnus Hagander <magnus@hagander.net>
Tue, 13 May 2008 20:54:00 +0000 (20:54 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 13 May 2008 20:54:00 +0000 (20:54 +0000)
commit9b1e598edb039c56e81537fffb78ab7b54960b45
tree4868a36bf733662d24880585623ea9119034ad7a
parent5b12b1c3770ab8ceb072db993d1ad88fffcd40d9
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
src/backend/access/transam/xlog.c