• Maria Matejka's avatar
    Fixed undefined behavior on signals. · 24493e91
    Maria Matejka authored
    The C11 specification allows only sig_atomic_t and _Atomic variable
    access. All other accesses to global variables are undefined behavior.
    
    Using int was probably OK on x86 and x86_64; yet there were some reports
    from other architectures (especially some MIPS) that in rare cases,
    after issuing SIGHUP, BIRD did strange things.
    24493e91