diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2016-03-15 21:37:26 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2016-03-15 21:37:26 (GMT) |
commit | 4b35c652376d454e2eef3ba825034ca9a986b401 (patch) | |
tree | 3362954ff5bc0d9644267c2738843cce6a649c76 /src/H5VLiod_attr.c | |
parent | da5e16ded59a612467993db8968cf57e8f07a34f (diff) | |
download | hdf5-4b35c652376d454e2eef3ba825034ca9a986b401.zip hdf5-4b35c652376d454e2eef3ba825034ca9a986b401.tar.gz hdf5-4b35c652376d454e2eef3ba825034ca9a986b401.tar.bz2 |
[svn-r29439] Fixed for H5Fopen_ff
Diffstat (limited to 'src/H5VLiod_attr.c')
-rw-r--r-- | src/H5VLiod_attr.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/H5VLiod_attr.c b/src/H5VLiod_attr.c index 94f9f69..70360b2 100644 --- a/src/H5VLiod_attr.c +++ b/src/H5VLiod_attr.c @@ -945,6 +945,16 @@ H5VL_iod_server_attr_exists_cb(AXE_engine_t H5_ATTR_UNUSED axe_engine, HGOTO_ERROR_FF(iod_ret, "can't open scratch pad"); } else { + + /* if attribute KV does not exist, return false*/ + if(IOD_OBJ_INVALID == input->loc_attrkv_id) { + printf("invalid \n"); + //ret = FALSE; + //HGOTO_DONE(SUCCEED); + } + + + /* open the attribute KV */ iod_ret = iod_obj_open_read(coh, input->loc_attrkv_id, rtid, NULL, &attr_kv_oh, NULL); if(iod_ret < 0) |