summaryrefslogtreecommitdiffstats
path: root/src/H5config.h.in
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-11-08 15:33:13 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-11-08 15:33:13 (GMT)
commita89dda8cb1260f05f3e283ca80310b3090940341 (patch)
treef795625c9dd894d518b75a810c4d73a39f089f87 /src/H5config.h.in
parent677f6cc3d8d7000c19869f7c09e9a015606369b8 (diff)
downloadhdf5-a89dda8cb1260f05f3e283ca80310b3090940341.zip
hdf5-a89dda8cb1260f05f3e283ca80310b3090940341.tar.gz
hdf5-a89dda8cb1260f05f3e283ca80310b3090940341.tar.bz2
[svn-r7830] Purpose:
Bug fix & code cleanup Description: Allowing the library to call malloc with a size of 0 bytes causes problems for some users, so we check for allocations of 0 bytes and disallow them now. Cleaned up some code which could call malloc with 0 size. Changed some code calling HDmalloc directly to call H5MM_malloc(), which allows us to check for 0 sized allocations. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
Diffstat (limited to 'src/H5config.h.in')
-rw-r--r--src/H5config.h.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in
index 6e8e6d0..11c8e7b 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -340,10 +340,6 @@
/* Define if `__tm_gmtoff' is a member of `struct tm' */
#undef HAVE___TM_GMTOFF
-/* Define if your system's `malloc' function returns a valid pointer for
- 0-byte allocations. */
-#undef MALLOC_WORKS
-
/* Define if your system's `MPI_File_set_size' function works for files over
2GB. */
#undef MPI_FILE_SET_SIZE_BIG