home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / std_unix / volume.31 / text0057.txt < prev    next >
Encoding:
Text File  |  1993-07-15  |  630 b   |  29 lines

  1. Submitted-by: gwyn@smoke.brl.mil (Doug Gwyn)
  2.  
  3. Ok, here is the latest improvement to the abort() implementation I posted
  4. earlier in this thread:
  5.  
  6. 6c6
  7. <     last edit:    07-May-1993    Gwyn@ARL.Army.Mil
  8. ---
  9. >     last edit:    11-May-1993    Gwyn@ARL.Army.Mil
  10. 64c64
  11. <     sigset_t        abort_mask;
  12. ---
  13. >     sigset_t        abort_mask, old_mask;
  14. 68c68
  15. <     (void)sigprocmask( SIG_UNBLOCK, &abort_mask, (sigset_t *)0 );
  16. ---
  17. >     (void)sigprocmask( SIG_UNBLOCK, &abort_mask, &old_mask );
  18. 70d69
  19. < #endif
  20. 71a71,74
  21. >     if ( sigismember( &old_mask, SIGABRT ) )
  22. >         sigfunc = SIG_DFL;    /* thanks to wulkan@vnet.ibm.com */
  23. >     else
  24. > #endif
  25.  
  26.  
  27. Volume-Number: Volume 31, Number 60
  28.  
  29.