]> 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:53:56 +0000 (20:53 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 13 May 2008 20:53:56 +0000 (20:53 +0000)
commit8e30db83a5b87b2d812d238674d5e5615f700dc1
tree317afc7711798870c44e599a0419a2269e5c5387
parent98bf4226256d5d745001dfe421856e69dee23754
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