- Timestamp:
- Mar 16, 2010, 6:44:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/largefiles.20100314/Ohana/src/opihi/dvo/cmpread.c
r20936 r27295 6 6 int cmpread (int argc, char **argv) { 7 7 8 int i, field, Naxis, Nbytes, Nstars; 8 off_t Nbytes; 9 int i, field, Naxis, Nstars; 9 10 double tR, tD; 10 11 float value; … … 61 62 return (FALSE); 62 63 } 63 fseek (f, header.size, SEEK_SET);64 fseeko (f, header.datasize, SEEK_SET); 64 65 65 66 /* find expected number of stars */ … … 84 85 gprint (GP_ERR, "reading from FITS cmp file %s\n", argv[2]); 85 86 Nbytes = gfits_data_size (&header); 86 fseek (f, Nbytes, SEEK_CUR);87 fseeko (f, Nbytes, SEEK_CUR); 87 88 stars = cmpReadFits (f, &Nstars); 88 89 }
Note:
See TracChangeset
for help on using the changeset viewer.
