summaryrefslogtreecommitdiffstats
path: root/src/H5R.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-10-14 19:35:08 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-10-14 19:35:08 (GMT)
commitcfb2a264f1a441c4267c9d6095a4f11744a602f2 (patch)
tree06613f81286b01a4d27ea420d432f6c5400b6e08 /src/H5R.c
parent6f9a11d046688e5b178fe96e70ea9b1569fc3856 (diff)
downloadhdf5-cfb2a264f1a441c4267c9d6095a4f11744a602f2.zip
hdf5-cfb2a264f1a441c4267c9d6095a4f11744a602f2.tar.gz
hdf5-cfb2a264f1a441c4267c9d6095a4f11744a602f2.tar.bz2
[svn-r761] Changes since 19981013
---------------------- ./src/H5.c Fixed a signed vs. unsigned comparison. ./src/H5D.c Setting a fill value of all zeros will cause the fill value to be written to the dataset instead of relying on the low-level file driver initializing unwritten areas with zero. ./src/H5D.c ./src/H5F.c ./src/H5Fprivate.h ./src/H5G.c ./src/H5Gpkg.h ./src/H5Gprivate.h ./src/H5O.c ./src/H5T.c More file mounting stuff. ./src/H5I.c Fixed a bug where trying to close an invalid object id caused a core dump. For instance, H5Gclose(-1). ./MANIFEST ./test/Makefile.in ./test/mount.c [NEW] Mounting tests. ./src/H5R.c Fixed a couple (herr_t)NULL casts.
Diffstat (limited to 'src/H5R.c')
-rw-r--r--src/H5R.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5R.c b/src/H5R.c
index 88ab707..48051de 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -246,7 +246,7 @@ H5R_dereference(href_t *ref)
*/
/* Allocate the dataset structure */
if (NULL==(dataset = H5D_new(NULL))) {
- HGOTO_ERROR (H5E_RESOURCE, H5E_NOSPACE, NULL,
+ HGOTO_ERROR (H5E_RESOURCE, H5E_NOSPACE, FAIL,
"memory allocation failed");
}
@@ -258,7 +258,7 @@ H5R_dereference(href_t *ref)
/* Open the dataset object */
if (H5D_open_oid(dataset, &ent) < 0) {
- HGOTO_ERROR(H5E_DATASET, H5E_NOTFOUND, NULL, "not found");
+ HGOTO_ERROR(H5E_DATASET, H5E_NOTFOUND, FAIL, "not found");
}
/* Create an atom for the dataset */