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/objectcoverage.c

    r39233 r39419  
    174174  Nsecfilt = GetPhotcodeNsecfilt();
    175175  // grab data from all selected sky regions
    176   signal (SIGINT, handle_interrupt);
    177   interrupt = FALSE;
    178176
    179177  /* load region corresponding to selection above */
    180178  if ((skylist = SelectRegions (selection)) == NULL) goto escape;
     179
     180  struct sigaction *old_sigaction = SetInterrupt();
    181181
    182182  /* loop over regions, extract data for each region */
     
    224224    }
    225225  }
     226  ClearInterrupt (old_sigaction);
    226227  return (TRUE);
    227228
Note: See TracChangeset for help on using the changeset viewer.