diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-08-11 22:49:59 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-08-11 22:49:59 (GMT) |
commit | 326981f421b993815657daecc8b37bd732513d82 (patch) | |
tree | b7a47af6b8d952ea212ee698b2aa3f7f2db3eb82 /src/H5D.c | |
parent | eec23941abb546ba9d4c03e3cacd4ff70f116b7a (diff) | |
download | hdf5-326981f421b993815657daecc8b37bd732513d82.zip hdf5-326981f421b993815657daecc8b37bd732513d82.tar.gz hdf5-326981f421b993815657daecc8b37bd732513d82.tar.bz2 |
[svn-r24] ./src/H5B.c
./src/H5Bprivate.h
./src/H5G.c
H5B_new() only takes two arguments.
./src/H5C.c
Fixed initializer for default_file_create to be the same order
as it's definition.
./src/H5D.c
Changed commented-out code to #if 0/#endif. #if'd out a
variable that was unused because of #if'd out code.
./src/H5Dproto.c
Added a prototype for H5Dwrite().
./src/H5F.c
Changed parentheses to fix precedence problems from:
flags & (~H5AC_OVERWRITE) != 0
to
(flags & ~H5AC_OVERWRITE) != 0
./src/H5H.c
Heap reallocation doubles the heap size instead of tripling it.
./src/H5O.c
Got rid of a statement with no effect.
./src/hdf5port.h
Indented a few #defines. Added a defn for MAX3().
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -193,7 +193,9 @@ done: herr_t H5Dwrite(hatom_t oid, hatom_t did, VOIDP buf) { H5D_dataset_t *dataset; /* dataset object to release */ +#if 0 uintn towrite; /* number of bytes to write out */ +#endif herr_t ret_value = SUCCEED; FUNC_ENTER(H5Dwrite, H5D_init_interface, FAIL); @@ -214,7 +216,9 @@ herr_t H5Dwrite(hatom_t oid, hatom_t did, VOIDP buf) if(dataset->type==0 || dataset->dim==0) HGOTO_ERROR(H5E_FUNC, H5E_UNINITIALIZED, FAIL); -/* towrite=H5Tsize(dataset->type)*H5Pnelem(did); */ +#if 0 + towrite=H5Tsize(dataset->type)*H5Pnelem(did); +#endif /* Check memory to disk datatype conversions, etc. */ /* data out */ |