summaryrefslogtreecommitdiffstats
path: root/hl/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-10-31 13:13:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-10-31 13:13:40 (GMT)
commite15bdb05e6bf52525c1df48f8e8e01aba3ce288b (patch)
treeb6a77169711c84362d7cbb252cb8d288b2656ba6 /hl/src
parentb969dce6e5625dd9d9f9cc42717a1b2027fdeeb1 (diff)
downloadhdf5-e15bdb05e6bf52525c1df48f8e8e01aba3ce288b.zip
hdf5-e15bdb05e6bf52525c1df48f8e8e01aba3ce288b.tar.gz
hdf5-e15bdb05e6bf52525c1df48f8e8e01aba3ce288b.tar.bz2
[svn-r14225] Description:
Change H5Oget_info -> H5Oget_info_by_name and re-add H5Oget_info in a simpler form for querying a particular object, to align with other new API routines. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'hl/src')
-rw-r--r--hl/src/H5DS.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/hl/src/H5DS.c b/hl/src/H5DS.c
index a29d8ae..08345c6 100644
--- a/hl/src/H5DS.c
+++ b/hl/src/H5DS.c
@@ -152,11 +152,11 @@ herr_t H5DSattach_scale(hid_t did,
return FAIL;
/* get info for the dataset in the parameter list */
- if(H5Oget_info(did, ".", &oi1, H5P_DEFAULT) < 0)
+ if(H5Oget_info(did, &oi1) < 0)
return FAIL;
/* get info for the scale in the parameter list */
- if(H5Oget_info(dsid, ".", &oi2, H5P_DEFAULT) < 0)
+ if(H5Oget_info(dsid, &oi2) < 0)
return FAIL;
/* same object, not valid */
@@ -328,11 +328,11 @@ herr_t H5DSattach_scale(hid_t did,
goto out;
/* get info for DS in the parameter list */
- if(H5Oget_info(dsid, ".", &oi1, H5P_DEFAULT) < 0)
+ if(H5Oget_info(dsid, &oi1) < 0)
goto out;
/* get info for this DS */
- if(H5Oget_info(dsid_j, ".", &oi2, H5P_DEFAULT) < 0)
+ if(H5Oget_info(dsid_j, &oi2) < 0)
goto out;
/* same object, so this DS scale is already in this DIM IDX */
@@ -612,11 +612,11 @@ herr_t H5DSdetach_scale(hid_t did,
return FAIL;
/* get info for the dataset in the parameter list */
- if(H5Oget_info(did, ".", &oi1, H5P_DEFAULT) < 0)
+ if(H5Oget_info(did, &oi1) < 0)
return FAIL;
/* get info for the scale in the parameter list */
- if(H5Oget_info(dsid, ".", &oi2, H5P_DEFAULT) < 0)
+ if(H5Oget_info(dsid, &oi2) < 0)
return FAIL;
/* same object, not valid */
@@ -706,11 +706,11 @@ herr_t H5DSdetach_scale(hid_t did,
goto out;
/* get info for DS in the parameter list */
- if(H5Oget_info(dsid, ".", &oi1, H5P_DEFAULT) < 0)
+ if(H5Oget_info(dsid, &oi1) < 0)
goto out;
/* get info for this DS */
- if(H5Oget_info(dsid_j, ".", &oi2, H5P_DEFAULT) < 0)
+ if(H5Oget_info(dsid_j, &oi2) < 0)
goto out;
/* same object, reset */
@@ -788,11 +788,11 @@ herr_t H5DSdetach_scale(hid_t did,
goto out;
/* get info for dataset in the parameter list */
- if(H5Oget_info(did, ".", &oi3, H5P_DEFAULT) < 0)
+ if(H5Oget_info(did, &oi3) < 0)
goto out;
/* get info for this dataset */
- if(H5Oget_info(did_i, ".", &oi4, H5P_DEFAULT) < 0)
+ if(H5Oget_info(did_i, &oi4) < 0)
goto out;
/* same object, reset. we want to detach only for this DIM */
@@ -967,11 +967,11 @@ htri_t H5DSis_attached(hid_t did,
return FAIL;
/* get info for the dataset in the parameter list */
- if(H5Oget_info(did, ".", &oi1, H5P_DEFAULT) < 0)
+ if(H5Oget_info(did, &oi1) < 0)
return FAIL;
/* get info for the scale in the parameter list */
- if(H5Oget_info(dsid, ".", &oi2, H5P_DEFAULT) < 0)
+ if(H5Oget_info(dsid, &oi2) < 0)
return FAIL;
/* same object, not valid */
@@ -1049,11 +1049,11 @@ htri_t H5DSis_attached(hid_t did,
goto out;
/* get info for DS in the parameter list */
- if(H5Oget_info(dsid, ".", &oi1, H5P_DEFAULT) < 0)
+ if(H5Oget_info(dsid, &oi1) < 0)
goto out;
/* get info for this DS */
- if(H5Oget_info(dsid_j, ".", &oi2, H5P_DEFAULT) < 0)
+ if(H5Oget_info(dsid_j, &oi2) < 0)
goto out;
/* same object */
@@ -1135,11 +1135,11 @@ htri_t H5DSis_attached(hid_t did,
goto out;
/* get info for dataset in the parameter list */
- if(H5Oget_info(did, ".", &oi3, H5P_DEFAULT) < 0)
+ if(H5Oget_info(did, &oi3) < 0)
goto out;
/* get info for this dataset */
- if(H5Oget_info(did_i, ".", &oi4, H5P_DEFAULT) < 0)
+ if(H5Oget_info(did_i, &oi4) < 0)
goto out;
/* same object */