]> 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:52 +0000 (20:53 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 13 May 2008 20:53:52 +0000 (20:53 +0000)
commit72e2db86b9845f75ebf538dd96614b1dab6cfb04
tree26587f8969ce6e704bc80c9935a6ff6abcdf309d
parentd82a1d582cf1917d8d9807fe76bf6588091563c0
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