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/dvo/imextract.c

    r37807 r39457  
    44 
    55  off_t i, j, Nimage;
    6   int n, N, Npts, NPTS, last, next, state, Nfields, Nreturn, Ncstack, Nstack;
     6  int n, N, Npts, NPTS, last, next, state, Nfields, Nreturn, Nstack;
    77  char **cstack, name[1024];
    8   void *Signal;
    98
    109  Vector **vec;
     
    5756
    5857  // parse the remainder of the line as a boolean math expression
     58  unsigned int Ncstack;
    5959  cstack = isolate_elements (argc-next, &argv[next], &Ncstack);
    6060 
     
    9797
    9898  // grab data from all selected sky regions
    99   Signal = signal (SIGINT, handle_interrupt);
    100   interrupt = FALSE;
     99  struct sigaction *old_sigaction = SetInterrupt();
    101100  for (j = 0; (j < Nimage) && !interrupt; j++) {
    102101
     
    128127    }
    129128  }
    130   signal (SIGINT, Signal);
    131   interrupt = FALSE;
     129  ClearInterrupt (old_sigaction);
     130
    132131  for (n = 0; n < Nreturn; n++) {
    133132    vec[n][0].Nelements = Npts;
Note: See TracChangeset for help on using the changeset viewer.