Ensure that 'errno' is saved and restored by all signal handlers that

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 5491233f5245c464be2286ad894448b21ef757db
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-12-18T17:33:42Z
Releases: 7.1.1
Ensure that 'errno' is saved and restored by all signal handlers that
might change it.  Experimentation shows that the signal handler call
mechanism does not save/restore errno for you, at least not on Linux
or HPUX, so this is definitely a real risk.

Files