lib: Do not assume sig_atomic_t is int.
authorEd Maste <emaste@freebsd.org>
Tue, 26 Jun 2012 14:43:54 +0000 (14:43 +0000)
committerBen Pfaff <blp@nicira.com>
Tue, 26 Jun 2012 16:31:05 +0000 (09:31 -0700)
commitbf82917b26a3fb561f60e6709c79c39a2c5648fa
tree930fc5db4c5fd052422036ed7484605e8a01663b
parent4550b6475456b7b2e44ab464434f03aacdb9f33d
lib: Do not assume sig_atomic_t is int.

On FreeBSD sig_atomic_t is long, which causes the comparison in
fatal_signal_run to be true when no signal has been reported.

Signed-off-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
lib/fatal-signal.c