Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • rtoy's avatar
    572f5c8f
    Fix long-standing bug where C-c sometimes causes a segfault on · 572f5c8f
    rtoy authored
    Solaris.  The issue is that the siginfo_t is documented to be NULL
    sometimes on Solaris.  Also, it appears that at most we only care
    about the si_code field of a siginfo_t, so we only fill in the si_code
    field when the siginfo_t parameter is not NULL.  Otherwise use 0.
    (Carl suggested this solution.)
    
    Also, the Lisp signal handlers appear to ignore the siginfo_t argument
    anyway.
    572f5c8f
    History
    Fix long-standing bug where C-c sometimes causes a segfault on
    rtoy authored
    Solaris.  The issue is that the siginfo_t is documented to be NULL
    sometimes on Solaris.  Also, it appears that at most we only care
    about the si_code field of a siginfo_t, so we only fill in the si_code
    field when the siginfo_t parameter is not NULL.  Otherwise use 0.
    (Carl suggested this solution.)
    
    Also, the Lisp signal handlers appear to ignore the siginfo_t argument
    anyway.