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

    r39354 r39419  
    7171
    7272  // prepare to handle interrupt signals
    73   signal (SIGINT, handle_interrupt);
    74   interrupt = FALSE;
     73  struct sigaction *old_sigaction = SetInterrupt();
    7574
    7675  for (i = 0; (i < Nregions) && !interrupt; i++) {
     
    113112    }
    114113  }
     114  ClearInterrupt (old_sigaction);
    115115
    116116  gprint (GP_ERR, "plotting %d catalogs\n", Npts/8);
Note: See TracChangeset for help on using the changeset viewer.