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

    r39360 r39457  
    2525 
    2626  off_t i, j, k, m; // used for counter averages and measures
    27   int n, N, Npts, NPTS, last, next, state, Nfields, Nreturn, Ncstack, Nstack;
     27  int n, N, Npts, NPTS, last, next, state, Nfields, Nreturn, Nstack;
    2828  int Nsecfilt, VERBOSE, loadImages;
    2929  char **cstack, name[1024];
    3030  dbValue *values;
    31   void *Signal;
    3231
    3332  Catalog catalog;
     
    115114
    116115  // parse the remainder of the line as a boolean math expression
     116  unsigned int Ncstack;
    117117  cstack = isolate_elements (argc-next, &argv[next], &Ncstack);
    118118 
     
    217217
    218218  // grab data from all selected sky regions
    219   Signal = signal (SIGINT, handle_interrupt);
    220   interrupt = FALSE;
    221 
    222   // fprintf (stderr, "done setup...");
     219  struct sigaction *old_sigaction = SetInterrupt();
    223220
    224221  for (i = 0; (i < skylist[0].Nregions) && !interrupt; i++) {
     
    310307    // dbStackFreeReset ();
    311308  }
    312   signal (SIGINT, Signal);
     309  ClearInterrupt (old_sigaction);
    313310  interrupt = FALSE;
    314311
Note: See TracChangeset for help on using the changeset viewer.