Without this patch got_sighup(), which is the SIGHUP handler,
would set a variable of type int.
This would appear to be incorrect, although it has worked reliably.
This patch changes the type to "volatile sig_atomic_t", which appears
to be all that is needed to correct it.
Thanks got to Peter Eriksson for reporting this.