Changeset 39457 for trunk/Ohana/src/opihi/dvo/imextract.c
- Timestamp:
- Mar 11, 2016, 10:23:42 PM (10 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/opihi/dvo/imextract.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/ohana.20160226 merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/opihi/dvo/imextract.c
r37807 r39457 4 4 5 5 off_t i, j, Nimage; 6 int n, N, Npts, NPTS, last, next, state, Nfields, Nreturn, N cstack, Nstack;6 int n, N, Npts, NPTS, last, next, state, Nfields, Nreturn, Nstack; 7 7 char **cstack, name[1024]; 8 void *Signal;9 8 10 9 Vector **vec; … … 57 56 58 57 // parse the remainder of the line as a boolean math expression 58 unsigned int Ncstack; 59 59 cstack = isolate_elements (argc-next, &argv[next], &Ncstack); 60 60 … … 97 97 98 98 // grab data from all selected sky regions 99 Signal = signal (SIGINT, handle_interrupt); 100 interrupt = FALSE; 99 struct sigaction *old_sigaction = SetInterrupt(); 101 100 for (j = 0; (j < Nimage) && !interrupt; j++) { 102 101 … … 128 127 } 129 128 } 130 signal (SIGINT, Signal);131 interrupt = FALSE; 129 ClearInterrupt (old_sigaction); 130 132 131 for (n = 0; n < Nreturn; n++) { 133 132 vec[n][0].Nelements = Npts;
Note:
See TracChangeset
for help on using the changeset viewer.
