]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Don't try to close negative file descriptors, since this can cause
authorMagnus Hagander <magnus@hagander.net>
Tue, 13 May 2008 20:53:54 +0000 (20:53 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 13 May 2008 20:53:54 +0000 (20:53 +0000)
commit7cff884c3882114b777d3ce84439a4ce3b280a17
tree4525bf6e3e725a97443b47a1fb5675d00b3cccad
parent7baef60c8b6b178f43379810b1cb89664905208a
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