summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2022-07-01 22:49:23 (GMT)
committerGitHub <noreply@github.com>2022-07-01 22:49:23 (GMT)
commit8937054d5af0b17193ee9c5bbb359df68c52cd18 (patch)
tree0e5f0bd95af8051b843291c83c00c025ff831d8a /src
parent6aa7aeeda415287c3995fe3140bda86445023ab5 (diff)
downloadhdf5-8937054d5af0b17193ee9c5bbb359df68c52cd18.zip
hdf5-8937054d5af0b17193ee9c5bbb359df68c52cd18.tar.gz
hdf5-8937054d5af0b17193ee9c5bbb359df68c52cd18.tar.bz2
Fix invalid comment about character encoding in H5Fint.c (#1845)
Diffstat (limited to 'src')
-rw-r--r--src/H5Fint.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c
index fd3e6be..0b75d2e 100644
--- a/src/H5Fint.c
+++ b/src/H5Fint.c
@@ -2707,10 +2707,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)