IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 11, 2016, 10:23:42 PM (10 years ago)
Author:
eugene
Message:

modify to pass with extremely pedantic build; force consistency for signed vs unsigned and int sizes; various relastro updates

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/opihi/cmd.data/cursor.c

    r33662 r39457  
    66  int i, N, kapa, VERBOSE;
    77  double X, Y, R, D, Z;
    8   void *oldsignal;
    98
    109  // XXX need to be able to specify graph vs image coords
     
    3837  KiiCursorOn (kapa);
    3938 
    40   oldsignal = signal (SIGINT, handle_interrupt);
    41   interrupt = FALSE;
    42 
     39  struct sigaction *old_sigaction = SetInterrupt();
    4340  for (i = 0; ((i < N) || (N == 0)) && !interrupt; i++) {
    4441
     
    6259    if (!strcasecmp (key, "Q")) break;
    6360  }
     61  ClearInterrupt (old_sigaction);
    6462
    65   signal (SIGINT, oldsignal);
    6663  KiiCursorOff (kapa);
    6764  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.