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

    r39297 r39457  
    5656    int onePercent = ivec->Nelements / 100;
    5757
    58     void *Signal = signal (SIGINT, handle_interrupt);
    59     interrupt = FALSE;
     58    struct sigaction *old_sigaction = SetInterrupt();
    6059    for (i = 0; (i < ivec->Nelements) && !interrupt; Nnew++) {
    6160      vtgt[Nnew] = *vsrc;
     
    7271      }
    7372    }
    74     signal (SIGINT, Signal);
     73    ClearInterrupt (old_sigaction);
    7574    if (VERBOSE) gprint (GP_ERR, "\n");
    7675    free (indata);
     
    9089    int onePercent = ivec->Nelements / 100;
    9190
    92     void *Signal = signal (SIGINT, handle_interrupt);
    93     interrupt = FALSE;
     91    struct sigaction *old_sigaction = SetInterrupt();
    9492    for (i = 0; (i < ivec->Nelements) && !interrupt; Nnew++) {
    9593      vtgt[Nnew] = *vsrc;
     
    106104      }
    107105    }
    108     signal (SIGINT, Signal);
     106    ClearInterrupt (old_sigaction);
    109107    if (VERBOSE) gprint (GP_ERR, "\n");
    110108    free (indata);
Note: See TracChangeset for help on using the changeset viewer.