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

    r37807 r39419  
    5555
    5656  // prepare to handle interrupt signals
    57   signal (SIGINT, handle_interrupt);
    58   interrupt = FALSE;
     57  struct sigaction *old_sigaction = SetInterrupt();
    5958
    6059  for (i = 0; (i < skylist[0].Nregions) && !interrupt; i++) {
     
    9998    set_str_variable ("CATNAME", filename);
    10099  }
     100  ClearInterrupt (old_sigaction);
    101101
    102102  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.