- Timestamp:
- Apr 26, 2018, 12:37:16 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/tools/src/fields.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/tools/src/fields.c
r38441 r40409 96 96 } 97 97 } 98 // we are checking each extension to see if it matches the regex. 98 99 if (!regexec (&preg, extname, 0, NULL, 0)) { 99 100 GotField &= print_fields (filename, extname, &header, argc, argv); … … 105 106 Nextend ++; 106 107 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 107 112 GotFile &= gfits_read_Xheader (filename, &header, Nextend); 108 113 continue;
Note:
See TracChangeset
for help on using the changeset viewer.
