summaryrefslogtreecommitdiffstats
path: root/src/H5FDonion.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-08-08 18:00:13 (GMT)
committerGitHub <noreply@github.com>2022-08-08 18:00:13 (GMT)
commit57926d549ef75c532badc7ad3318170f7130295b (patch)
treef1997e6e5727144972956b31ff40d62baa2455d8 /src/H5FDonion.h
parent956282fa6f5f5b7df92be6f14c12681f7ecabbc9 (diff)
downloadhdf5-57926d549ef75c532badc7ad3318170f7130295b.zip
hdf5-57926d549ef75c532badc7ad3318170f7130295b.tar.gz
hdf5-57926d549ef75c532badc7ad3318170f7130295b.tar.bz2
Fixes some badness in the onion VFD revision comment code (#1975)
* Fixes some badness in the revision comment code * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5FDonion.h')
-rw-r--r--src/H5FDonion.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5FDonion.h b/src/H5FDonion.h
index 04fd2ff..cc767c6 100644
--- a/src/H5FDonion.h
+++ b/src/H5FDonion.h
@@ -33,12 +33,12 @@
/* Flag to require page alignment of onion revision data */
#define H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT 0x2
-/* Max length of a comment */
+/* Max length of a comment
+ * The buffer is defined to be this size + 1 to handle the NUL
+ */
#define H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN 255
-/* Indicates that you want the latest revision
- * TODO: Does this work?
- */
+/* Indicates that you want the latest revision */
#define H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST UINT64_MAX
typedef enum H5FD_onion_target_file_constant_t {