summaryrefslogtreecommitdiffstats
path: root/src/H5Fint.c
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2022-08-16 21:08:52 (GMT)
committerGitHub <noreply@github.com>2022-08-16 21:08:52 (GMT)
commitd9247ec17e8abe53af0a439e1a1b58ade6ae5310 (patch)
tree98c7f123dfde1eedb02575eaf64f989bcf2ba724 /src/H5Fint.c
parent75baddbf62ae87c09a9654c4398408752cc9236b (diff)
downloadhdf5-d9247ec17e8abe53af0a439e1a1b58ade6ae5310.zip
hdf5-d9247ec17e8abe53af0a439e1a1b58ade6ae5310.tar.gz
hdf5-d9247ec17e8abe53af0a439e1a1b58ade6ae5310.tar.bz2
[1.12 Merge] Hdf5 1 12 develop merges (#2012)
* Fix invalid comment about character encoding in H5Fint.c (#1845) * Convert assertion on (possibly corrupt) file contents to normal error check (#1861) * Convert assertion on (possibly corrupt) file contents to normal error check * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Avoid allocating chunk map for contiguous and compact dataset I/O (#1927) * Add documentation for parallel compression feature (#1981) Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r--src/H5Fint.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c
index 8d2af3d..1da8c01 100644
--- a/src/H5Fint.c
+++ b/src/H5Fint.c
@@ -2708,10 +2708,13 @@ H5F__build_actual_name(const H5F_t *f, const H5P_genplist_t *fapl, const char *n
if (NULL == (new_fapl = (H5P_genplist_t *)H5I_object(new_fapl_id)))
HGOTO_ERROR(H5E_FILE, H5E_CANTCREATE, FAIL, "can't get property list")
- /* Set the character encoding on the new property list */
+ /*
+ * Set the private property for retrieving the backing store
+ * POSIX file descriptor from the Core VFD
+ */
want_posix_fd = TRUE;
if (H5P_set(new_fapl, H5F_ACS_WANT_POSIX_FD_NAME, &want_posix_fd) < 0)
- HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set character encoding")
+ HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set property for retrieving file descriptor")
/* Retrieve the file handle */
if (H5F_get_vfd_handle(f, new_fapl_id, (void **)&fd) < 0)