Changeset 15751 for trunk/Ohana/src/libfits/header/F_read_H.c
- Timestamp:
- Dec 6, 2007, 3:42:40 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libfits/header/F_read_H.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libfits/header/F_read_H.c
r15743 r15751 35 35 sizeof(char), FT_RECORD_SIZE, f); 36 36 if (Nbytes != FT_RECORD_SIZE) { 37 if (feof(f)) return (FALSE); 37 38 perror ("fits read error"); 39 return (FALSE); 38 40 } 39 41 40 42 header[0].size += Nbytes; 41 if (Nbytes != FT_RECORD_SIZE) { 42 return (FALSE); 43 } 43 44 44 if (i == 0) { 45 45 /* on first block, verify it is a FITS table: SIMPLE .. or XTENSION ... */
Note:
See TracChangeset
for help on using the changeset viewer.
