summaryrefslogtreecommitdiffstats
path: root/src/H5Dchunk.c
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2018-04-13 17:08:20 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2018-04-13 17:08:20 (GMT)
commitd7ba9057db1afa81d53d466dac5a03c5e82554f1 (patch)
treea3a44a02a0db7d11c251a9769507ee91f0ae2722 /src/H5Dchunk.c
parent27ef4b154615496ff2b383636842c646d1269044 (diff)
parentc1e82e516fb6c8c7fe40be385ef09dd5502205f0 (diff)
downloadhdf5-d7ba9057db1afa81d53d466dac5a03c5e82554f1.zip
hdf5-d7ba9057db1afa81d53d466dac5a03c5e82554f1.tar.gz
hdf5-d7ba9057db1afa81d53d466dac5a03c5e82554f1.tar.bz2
Merge pull request #1032 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_8_bmr:hdf5_1_8 to hdf5_1_8
HDFFV-10404: typo fixes * commit 'c1e82e516fb6c8c7fe40be385ef09dd5502205f0': Fixed typos Description: Looked for typos similar to user's report in HDFFV-10404. Not all the same but many were found and fixed. Platforms tested: Linux/64 (jelly) - only typos
Diffstat (limited to 'src/H5Dchunk.c')
-rw-r--r--src/H5Dchunk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index 021335f..4cabd72 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -641,7 +641,7 @@ H5D__chunk_set_info_real(H5O_layout_chunk_t *layout, unsigned ndims, const hsize
/* Compute the # of chunks in dataset dimensions */
for(u = 0, layout->nchunks = 1; u < ndims; u++) {
- /* Round up to the next integer # of chunks, to accomodate partial chunks */
+ /* Round up to the next integer # of chunks, to accommodate partial chunks */
layout->chunks[u] = ((curr_dims[u] + layout->dim[u]) - 1) / layout->dim[u];
/* Accumulate the # of chunks */
@@ -2731,7 +2731,7 @@ H5D__chunk_flush_entry(const H5D_t *dset, hid_t dxpl_id, const H5D_dxpl_cache_t
} /* end if */
else {
/*
- * If we are reseting and something goes wrong after this
+ * If we are resetting and something goes wrong after this
* point then it's too late to recover because we may have
* destroyed the original data by calling H5Z_pipeline().
* The only safe option is to continue with the reset
@@ -4267,7 +4267,7 @@ H5D__chunk_prune_by_extent(H5D_t *dset, hid_t dxpl_id, const hsize_t *old_dim)
HGOTO_DONE(SUCCEED)
} /* end if */
- /* Round up to the next integer # of chunks, to accomodate partial chunks */
+ /* Round up to the next integer # of chunks, to accommodate partial chunks */
/* Use current dims because the indices have already been updated! -NAF */
/* (also compute the number of elements per chunk) */
/* (also copy the chunk dimensions into 'hsize_t' array for creating dataspace) */