IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 1, 2016, 11:34:48 AM (10 years ago)
Author:
eugene
Message:

list unused parameters; replace old signal code with SetInterrupt, ClearInterrupt; fix unsigned / signed int inconsistencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20160226/src/opihi/dvo/mmatch.c

    r39360 r39419  
    1414  int VERBOSE;
    1515  char name[1024];
    16   void *Signal;
    1716  float RADIUS;
    1817
     
    237236
    238237  // grab data from all selected sky regions
    239   Signal = signal (SIGINT, handle_interrupt);
    240   interrupt = FALSE;
     238  struct sigaction *old_sigaction = SetInterrupt();
    241239  for (i = 0; (i < skylist[0].Nregions) && !interrupt; i++) {
    242240
     
    331329    dvo_catalog_free (&catalog);
    332330  }
    333   signal (SIGINT, Signal);
    334   interrupt = FALSE;
     331  ClearInterrupt (old_sigaction);
    335332
    336333  for (n = 0; n < Nfields; n++) {
Note: See TracChangeset for help on using the changeset viewer.