Changeset 39457 for trunk/Ohana/src/opihi/cmd.data/uniq.c
- Timestamp:
- Mar 11, 2016, 10:23:42 PM (10 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/opihi/cmd.data/uniq.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/cmd.data/uniq.c
r39297 r39457 56 56 int onePercent = ivec->Nelements / 100; 57 57 58 void *Signal = signal (SIGINT, handle_interrupt); 59 interrupt = FALSE; 58 struct sigaction *old_sigaction = SetInterrupt(); 60 59 for (i = 0; (i < ivec->Nelements) && !interrupt; Nnew++) { 61 60 vtgt[Nnew] = *vsrc; … … 72 71 } 73 72 } 74 signal (SIGINT, Signal);73 ClearInterrupt (old_sigaction); 75 74 if (VERBOSE) gprint (GP_ERR, "\n"); 76 75 free (indata); … … 90 89 int onePercent = ivec->Nelements / 100; 91 90 92 void *Signal = signal (SIGINT, handle_interrupt); 93 interrupt = FALSE; 91 struct sigaction *old_sigaction = SetInterrupt(); 94 92 for (i = 0; (i < ivec->Nelements) && !interrupt; Nnew++) { 95 93 vtgt[Nnew] = *vsrc; … … 106 104 } 107 105 } 108 signal (SIGINT, Signal);106 ClearInterrupt (old_sigaction); 109 107 if (VERBOSE) gprint (GP_ERR, "\n"); 110 108 free (indata);
Note:
See TracChangeset
for help on using the changeset viewer.
