diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2011-11-15 22:45:06 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2011-11-15 22:45:06 (GMT) |
commit | db7410f838e6319dc87413e27f18b0b8ac050314 (patch) | |
tree | 5bec749becb120ca24fae2390a1712405331fb08 /src/H5T.c | |
parent | ec688f92b94b9b6bdcfdc63058aef41fc5d97c0c (diff) | |
download | hdf5-db7410f838e6319dc87413e27f18b0b8ac050314.zip hdf5-db7410f838e6319dc87413e27f18b0b8ac050314.tar.gz hdf5-db7410f838e6319dc87413e27f18b0b8ac050314.tar.bz2 |
[svn-r21765] Issue 7618 - the library had seg fault when it tried to shrink the size of compound data type through H5Tset_size immediately after the type was created. I fixed it in this commit. I'm bringing the fix from the trunk. The only files being change are test/dtypes.c, src/H5T.c, src/H5Tconv.c, and release_docs/RELEASE.txt. All others are property changes.
Tested on jam, koala, and linew.
Diffstat (limited to 'src/H5T.c')
-rw-r--r-- | src/H5T.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4464,7 +4464,7 @@ H5T_path_find(const H5T_t *src, const H5T_t *dst, const char *name, path->cdata.command = H5T_CONV_INIT; if((H5T_g.soft[i].func)(src_id, dst_id, &(path->cdata), (size_t)0, (size_t)0, (size_t)0, NULL, NULL, dxpl_id) < 0) { HDmemset(&(path->cdata), 0, sizeof(H5T_cdata_t)); - H5E_clear_stack(NULL); /*ignore the error*/ + H5E_clear_stack(H5E_DEFAULT); /*ignore the error*/ } /* end if */ else { HDstrcpy(path->name, H5T_g.soft[i].name); |