summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-04-26 14:43:53 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-04-26 14:43:53 (GMT)
commitd6823ceb08328519d4ab0738abca997d0e433f37 (patch)
treecb81c5ece99d7ea8c85d13325737d0c3b847e6d8 /src/H5G.c
parente987b73f58ecea72d034ae39a70ad5d5c3bec9ab (diff)
downloadhdf5-d6823ceb08328519d4ab0738abca997d0e433f37.zip
hdf5-d6823ceb08328519d4ab0738abca997d0e433f37.tar.gz
hdf5-d6823ceb08328519d4ab0738abca997d0e433f37.tar.bz2
[svn-r1217] Changes since 19990426
---------------------- ./config/commence.in ./examples/Makefile.in ./test/Makefile.in ./testpar/Makefile.in ./tools/Makefile.in Fixed some dependency problems in Makefiles. If the library version is updated then everything gets recompiled. ./src/H5G.c ./src/H5R.c Failure return value for object type functions is now H5G_UNKNOWN as documented. ./src/H5Shyper.c ./src/H5Spoint.c Fixed an unused argument warning. ./tools/h5debug.c Fixed a call to H5F_block_read() since the 4th argument is different now. ./tools/h5ls.c Added a space between the object name and class to make the output readable when the object name is longer than 24 characters. C
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5G.c b/src/H5G.c
index 5250bf2..003bcc5 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -1991,7 +1991,7 @@ H5G_get_type(H5G_entry_t *ent)
for (i=H5G_ntypes_g; i>0; --i) {
if ((isa=(H5G_type_g[i-1].isa)(ent))<0) {
- HRETURN_ERROR(H5E_SYM, H5E_CANTINIT, FAIL,
+ HRETURN_ERROR(H5E_SYM, H5E_CANTINIT, H5G_UNKNOWN,
"unable to determine object type");
} else if (isa) {
HRETURN(H5G_type_g[i-1].type);
@@ -1999,7 +1999,7 @@ H5G_get_type(H5G_entry_t *ent)
}
if (0==i) {
- HRETURN_ERROR(H5E_SYM, H5E_CANTINIT, FAIL,
+ HRETURN_ERROR(H5E_SYM, H5E_CANTINIT, H5G_UNKNOWN,
"unable to determine object type");
}
FUNC_LEAVE(H5G_UNKNOWN);