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

    r39294 r39419  
    5757
    5858  // prepare to handle interrupt signals
    59   signal (SIGINT, handle_interrupt);
    60   interrupt = FALSE;
     59  struct sigaction *old_sigaction = SetInterrupt();
    6160
    6261  for (i = 0; (i < skylist[0].Nregions) && !interrupt; i++) {
     
    101100    set_str_variable ("CATNAME", hostfile);
    102101  }
     102  ClearInterrupt (old_sigaction);
    103103
    104104  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.