summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-09-06 15:34:30 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-09-06 15:34:30 (GMT)
commit25ee8b4e8f00329d2337cf562ee5125c33e322e9 (patch)
treefe73e22dd9b74282657391a31381014ce765cca0 /src/H5Ppublic.h
parent404ee60bd41e53144b5f405507ae1a319a0ae8af (diff)
downloadhdf5-25ee8b4e8f00329d2337cf562ee5125c33e322e9.zip
hdf5-25ee8b4e8f00329d2337cf562ee5125c33e322e9.tar.gz
hdf5-25ee8b4e8f00329d2337cf562ee5125c33e322e9.tar.bz2
[svn-r2509] Change code so that heap_size wasn't zero.
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r--src/H5Ppublic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index 0ae36aa..bf5b3f6 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -61,7 +61,7 @@ extern "C" {
* The library created property list classes
*/
#define H5P_NO_CLASS_NEW (H5open(), H5P_NO_CLASS_g)
-#define H5P_NO_CLASS_HASH_SIZE 0
+#define H5P_NO_CLASS_HASH_SIZE 1 /* 1, not 0, otherwise allocations get weird */
#define H5P_FILE_CREATE_NEW (H5open(), H5P_FILE_CREATE_g)
#define H5P_FILE_CREATE_HASH_SIZE 17
#define H5P_FILE_ACCESS_NEW (H5open(), H5P_FILE_ACCESS_g)