diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2012-01-25 20:06:09 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2012-01-25 20:06:09 (GMT) |
commit | 394caf9adf2249735ef4b6c707c65e3c587d84ac (patch) | |
tree | 40230000cfe4d604846444d7b543b8aed11178c5 /test/links.c | |
parent | 13ef2d1fbbc50956c1cea1d28462a974c8e036a6 (diff) | |
download | hdf5-394caf9adf2249735ef4b6c707c65e3c587d84ac.zip hdf5-394caf9adf2249735ef4b6c707c65e3c587d84ac.tar.gz hdf5-394caf9adf2249735ef4b6c707c65e3c587d84ac.tar.bz2 |
[svn-r21891] Issue 7756 - Creating a dataset in a read-only file caused seg fault when the file is closed. I fixed the problem by putting a condition check early in H5O_create of H5O.c. The old code checked it too late, not until a file space is created. I added a test case in tfile.c to check the creation of group, dataset, attribute, and datatype.
Tested on koala, jam, and linew.
Diffstat (limited to 'test/links.c')
0 files changed, 0 insertions, 0 deletions