mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-18 17:40:55 +08:00
[svn-r57] Fixed bug in "reserved" atoms code which was not actually reserving the
atoms. :-)
This commit is contained in:
parent
ec80e5939f
commit
ee40da82df
@ -146,7 +146,7 @@ intn H5Ainit_group(group_t grp, /* IN: Group to initialize */
|
||||
grp_ptr->reserved=reserved;
|
||||
grp_ptr->wrapped=0;
|
||||
grp_ptr->atoms=0;
|
||||
grp_ptr->nextid=0;
|
||||
grp_ptr->nextid=reserved;
|
||||
if((grp_ptr->atom_list=(atom_info_t **)HDcalloc(hash_size,sizeof(atom_info_t *)))==NULL)
|
||||
HGOTO_DONE(FAIL);
|
||||
} /* end if */
|
||||
|
Loading…
x
Reference in New Issue
Block a user