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

    r38471 r39419  
    2121  skylist = NULL;
    2222  selection = NULL;
     23  struct sigaction *old_sigaction = NULL:
    2324
    2425  /* load photcode information */
     
    6061
    6162  // grab data from all selected sky regions
    62   // void *Signal = signal (SIGINT, handle_interrupt);
    63   signal (SIGINT, handle_interrupt);
    64   interrupt = FALSE;
     63  old_sigaction = SetInterrupt();
    6564
    6665  /* loop over regions, extract data for each region */
     
    118117    dvo_catalog_free (&catalog);
    119118  }
     119  ClearInterrupt (old_sigaction);
    120120
    121121  xvec[0].Nelements = yvec[0].Nelements = Npts;
     
    129129
    130130escape:
     131  ClearInterrupt (old_sigaction);
    131132  dvo_catalog_free (&catalog);
    132133  SkyListFree (skylist);
Note: See TracChangeset for help on using the changeset viewer.