]> 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:02 +0000 (20:54 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 13 May 2008 20:54:02 +0000 (20:54 +0000)
commit53397b1e68093555e2dc4aa0736d71358883d052
tree0d9a648859e5e9b27b790114365f1cee861db71a
parentf496eb31b27856570eb62c16c00b0717fb0b63e7
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