This commit is contained in:
2009-05-14 16:40:16 +00:00
parent 6b5d9181e4
commit 6f8757a27d
+2 -3
View File
@@ -29,17 +29,16 @@ _h5_append_to_idlist (
if ( list->num_items == list->size ) {
h5_size_t size = list->size;
if ( size == 0 ) {
size = 16 * sizeof(list->items[0]);
size = 16;
} else {
size *= 2;
}
TRY ( list->items = _h5_alloc ( f, list->items, size ) );
TRY ( _h5_alloc_idlist ( f, list, size ) );
}
list->items[list->num_items++] = id;
return H5_SUCCESS;
}
h5_err_t
_h5_alloc_idmap (
h5_file_t * const f,