Ignore:
Timestamp:
Jun 5, 2009, 1:03:18 AM (10 years ago)
Author:
gz
Message:

Merge r11497:r11498 into trunk: pass signal number through to async quit handler so can exit by resignalling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/pmcl-kernel.c

    r12137 r12196  
    756756{
    757757  if (signum == SIGINT) {
    758     lisp_global(INTFLAG) = (1 << fixnumshift);
     758    lisp_global(INTFLAG) = (((signum<<8) + 1) << fixnumshift);
    759759  }
    760760  else if (signum == SIGTERM) {
    761     lisp_global(INTFLAG) = (2 << fixnumshift);
     761    lisp_global(INTFLAG) = (((signum<<8) + 2) << fixnumshift);
     762  }
     763  else if (signum == SIGQUIT) {
     764    lisp_global(INTFLAG) = (((signum<<8) + 2) << fixnumshift);
    762765  }
    763766#ifdef DARWIN
Note: See TracChangeset for help on using the changeset viewer.