]> 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:58 +0000 (20:53 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 13 May 2008 20:53:58 +0000 (20:53 +0000)
commit5b4150a682e5093d9b5a609f5a4f51ed6d799cf7
tree3719c8262415833d5d9ac56ab61f822f2969914e
parent6f28e879dd8630187b7640096978839ed204ce21
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