- Timestamp:
- Jun 7, 2015, 11:42:53 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20150429/src/libfits/table/F_table_varlength.c
r38342 r38425 157 157 158 158 // extend the buffer size to add the new data 159 off_t Nbytes = heap_offset + Ndata;159 off_t Nbytes = gfits_data_pad_size (heap_offset + Ndata); 160 160 REALLOCATE (table->buffer, char, Nbytes); 161 161 … … 198 198 table->header->pcount = pcount; 199 199 table->datasize = gfits_data_size (table->header); 200 myAssert (table->datasize == Nbytes, "inconsistent header and data"); 200 201 201 202 return TRUE;
Note:
See TracChangeset
for help on using the changeset viewer.
