summaryrefslogtreecommitdiffstats
path: root/src/H5Ocopy_ref.c
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2022-08-10 16:03:22 (GMT)
committerGitHub <noreply@github.com>2022-08-10 16:03:22 (GMT)
commit36ae75fb9304a6923ac094969ab33286179efdca (patch)
tree2b00992fe1b5344fb667cc8a7aece141dfce5b98 /src/H5Ocopy_ref.c
parent6c5b5e07590647568b63f7889a7b6fae76277b34 (diff)
downloadhdf5-36ae75fb9304a6923ac094969ab33286179efdca.zip
hdf5-36ae75fb9304a6923ac094969ab33286179efdca.tar.gz
hdf5-36ae75fb9304a6923ac094969ab33286179efdca.tar.bz2
Fix typos found in src/ subdirectory (#1983)
Found via `codespell -q 3 -S ./release_docs,./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c -L isnt,inout,nd,parms,parm,ba,offsetP,ser,ois,had,fiter,fo,clude,refere,minnum,offsetp,creat,ans:,eiter,lastr,ans,isn\'t,ifset,sur,trun,dne,tthe,hda,filname,te,htmp,minnum,ake,gord,numer,ro,oce`
Diffstat (limited to 'src/H5Ocopy_ref.c')
-rw-r--r--src/H5Ocopy_ref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Ocopy_ref.c b/src/H5Ocopy_ref.c
index 3ac0781..7ba2dc5 100644
--- a/src/H5Ocopy_ref.c
+++ b/src/H5Ocopy_ref.c
@@ -126,7 +126,7 @@ H5O__copy_obj_by_ref(H5O_loc_t *src_oloc, H5O_loc_t *dst_oloc, H5G_loc_t *dst_ro
/* Create a link to the newly copied object */
/* Note: since H5O_copy_header_map actually copied the target object, it
- * must exist either in cache or on disk, therefore it is is safe to not
+ * must exist either in cache or on disk, therefore it is safe to not
* pass the obj_type and udata fields returned by H5O_copy_header_map.
* This could be changed in the future to slightly improve performance
* --NAF */
@@ -319,7 +319,7 @@ H5O__copy_expand_ref_object2(H5O_loc_t *src_oloc, hid_t tid_src, const H5T_t *dt
HGOTO_ERROR(H5E_OHDR, H5E_CANTREGISTER, FAIL, "unable to register memory datatype")
} /* end if */
- /* create reference datatype at the destinaton file */
+ /* create reference datatype at the destination file */
if (NULL == (dt_dst = H5T_copy(dt_src, H5T_COPY_TRANSIENT)))
HGOTO_ERROR(H5E_OHDR, H5E_CANTINIT, FAIL, "unable to copy")
if (H5T_set_loc(dt_dst, H5F_VOL_OBJ(dst_oloc->file), H5T_LOC_DISK) < 0) {