IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40409 for trunk


Ignore:
Timestamp:
Apr 26, 2018, 12:37:16 PM (8 years ago)
Author:
eugene
Message:

add some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/tools/src/fields.c

    r38441 r40409  
    9696          }
    9797        }
     98        // we are checking each extension to see if it matches the regex.
    9899        if (!regexec (&preg, extname, 0, NULL, 0)) {
    99100          GotField &= print_fields (filename, extname, &header, argc, argv);
     
    105106        Nextend ++;
    106107
     108        // this implementation is very inefficient!
     109        // since we are checking each header for a regex, we should
     110        // loop over all extensions once.  the function below reads the
     111        // entire file a second time
    107112        GotFile &= gfits_read_Xheader (filename, &header, Nextend);
    108113        continue;
Note: See TracChangeset for help on using the changeset viewer.