IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37041


Ignore:
Timestamp:
Jul 17, 2014, 10:15:28 AM (12 years ago)
Author:
eugene
Message:

updates from eam_branches/ipp-21040610

Location:
trunk/Ohana/src/tools
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/tools/Makefile

    r31496 r37041  
    1717PROGRAMS = gconfig fhead ftable fields list_astro glockfile \
    1818radec mktemp precess csystem fits_insert \
    19 medianfilter mefhead ckfits roc
     19medianfilter mefhead ckfits roc random
    2020
    2121all tools: $(PROGRAMS)
  • trunk/Ohana/src/tools/src/ftable.c

    r34260 r37041  
    460460      } else {
    461461        for (j = 0; j < Nv; j++) {
     462          if (!strcmp (type, "byte")) {
     463            memcpy (line, &data[i*Nv*Nb + Nb*j], Nb);
     464            fprintf (stdout, "%d ", *(char *)line);
     465          }
     466          if (!strcmp (type, "short")) {
     467            memcpy (line, &data[i*Nv*Nb + Nb*j], Nb);
     468            fprintf (stdout, "%d ", *(short *)line);
     469          }
    462470          if (!strcmp (type, "int")) {
    463471            memcpy (line, &data[i*Nv*Nb + Nb*j], Nb);
Note: See TracChangeset for help on using the changeset viewer.