summaryrefslogtreecommitdiffstats
path: root/src/H5Fistore.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-10-26 14:49:52 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-10-26 14:49:52 (GMT)
commitdb9525c2a3ee70379032bae71f26866451df7e58 (patch)
tree81d4f205bbe5c1b201d4be648d04d420dc297cf8 /src/H5Fistore.c
parent7f020a4f3ce07a105881240d1cabd3a16bd518a0 (diff)
downloadhdf5-db9525c2a3ee70379032bae71f26866451df7e58.zip
hdf5-db9525c2a3ee70379032bae71f26866451df7e58.tar.gz
hdf5-db9525c2a3ee70379032bae71f26866451df7e58.tar.bz2
[svn-r789] Changes since 19981023
---------------------- ./MANIFEST ./test/Makefile.in ./test/flush1.c [NEW] ./test/flush2.c [NEW] Test to see if calling H5Fflush() results in a consistent file. ./src/H5.c ./src/H5A.c ./src/H5D.c ./src/H5Fistore.c ./src/H5I.c ./src/H5S.c ./src/H5Shyper.c ./src/H5Sselect.c ./src/H5TB.c Changed comparisons against SUCCEED and FAIL to >=0 and <0 in about 15 places. ./src/H5.c ./src/H5V.c ./src/H5detect.c ./src/H5private.h ./src/H5public.h ./test/big.c ./test/chunk.c ./test/cmpd_dset.c ./test/dsets.c ./test/dtypes.c ./test/external.c ./test/fillval.c ./test/iopipe.c ./test/links.c ./test/mount.c ./test/mtime.c ./test/ragged.c ./test/shtype.c ./test/unlink.c Removed ^M from the end of lines inserted on broken OS's ;-) ./src/H5private.h Changed c++ comments to c comments. ./src/H5R.c Added tracing macros.
Diffstat (limited to 'src/H5Fistore.c')
-rw-r--r--src/H5Fistore.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Fistore.c b/src/H5Fistore.c
index 49311f5..4eeb05f 100644
--- a/src/H5Fistore.c
+++ b/src/H5Fistore.c
@@ -1625,7 +1625,7 @@ H5F_istore_read(H5F_t *f, const H5D_xfer_t *xfer, const H5O_layout_t *layout,
H5F_istore_ud1_t udata;
H5O_layout_t l; /* temporary layout */
H5D_xfer_t tmp_xfer = *xfer;
- if (H5F_istore_get_addr(f, layout, chunk_offset, &udata)==FAIL){
+ if (H5F_istore_get_addr(f, layout, chunk_offset, &udata)<0){
HRETURN_ERROR (H5E_IO, H5E_WRITEERROR, FAIL,
"unable to locate raw data chunk");
};
@@ -1643,7 +1643,7 @@ H5F_istore_read(H5F_t *f, const H5D_xfer_t *xfer, const H5O_layout_t *layout,
tmp_xfer.xfer_mode = H5D_XFER_DFLT;
if (H5F_arr_read(f, &tmp_xfer, &l, pline, fill, NULL/*no efl*/,
sub_size, size_m, sub_offset_m, offset_wrt_chunk,
- buf)==FAIL){
+ buf)<0){
HRETURN_ERROR (H5E_IO, H5E_READERROR, FAIL,
"unable to read raw data from file");
}
@@ -1802,7 +1802,7 @@ H5F_istore_write(H5F_t *f, const H5D_xfer_t *xfer, const H5O_layout_t *layout,
H5F_istore_ud1_t udata;
H5O_layout_t l; /* temporary layout */
H5D_xfer_t tmp_xfer = *xfer;
- if (H5F_istore_get_addr(f, layout, chunk_offset, &udata)==FAIL){
+ if (H5F_istore_get_addr(f, layout, chunk_offset, &udata)<0){
HRETURN_ERROR (H5E_IO, H5E_WRITEERROR, FAIL,
"unable to locate raw data chunk");
};
@@ -1820,7 +1820,7 @@ H5F_istore_write(H5F_t *f, const H5D_xfer_t *xfer, const H5O_layout_t *layout,
tmp_xfer.xfer_mode = H5D_XFER_DFLT;
if (H5F_arr_write(f, &tmp_xfer, &l, pline, fill, NULL/*no efl*/,
sub_size, size_m, sub_offset_m, offset_wrt_chunk,
- buf)==FAIL){
+ buf)<0){
HRETURN_ERROR (H5E_IO, H5E_WRITEERROR, FAIL,
"unable to write raw data to file");
}
@@ -2140,7 +2140,7 @@ H5F_istore_allocate (H5F_t *f, const H5O_layout_t *layout,
printf(")\n");
#endif
#ifdef NO
- if (H5F_istore_get_addr(f, layout, chunk_offset, &udata)==FAIL){
+ if (H5F_istore_get_addr(f, layout, chunk_offset, &udata)<0){
#endif
/* No file space assigned yet. Allocate it. */
/* The following needs improvement like calling the */