summaryrefslogtreecommitdiffstats
path: root/test/tconfig.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r7829] Purpose:Quincey Koziol2003-11-081-42/+0
| | | | | | | | | | | | | | | | | 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
* [svn-r6939] Purpose:Quincey Koziol2003-05-311-0/+2
| | | | | | | | | | | Code cleanup Description: Free malloc'ed buffer of 0 bytes when H5_MALLOC_WORKS is defined, to make purify happier. Platforms tested: h5committestted (although Fortran tests failed for some reason)
* [svn-r6538] Purpose:Bill Wendling2003-03-311-11/+13
| | | | | | | | | | | | | Update Description: Updated the Copyright statement Platforms tested: Linux (This change is only in the comments, so I just check that the modules still compile) Misc. update:
* [svn-r5278] Purpose:Albert Cheng2002-04-281-42/+42
| | | | | | | | | | | | | | | | | | | | | Migrate from configure macros of XYZ_ABC to H5_XYZ_ABC Description: configure generates many macros definitions on the fly and were stored in src/H5config.h which is included by H5public.h. But other software that uses hdf5 may also run their own configure. There can be a clash in macro name space. We decided awhile ago to prepend all generated macros with "H5_" to avoid conflicts. The process has started and this commit completes it (at least attempt to). Solution: Many macros symbols (e.g. SIZEOF_xxx and HAVE_xxx were changed to H5_SIZEOF_xxx and H5_HAVE_xxx). Then H5private.h no longer includes H5config.h. This cuts H5config.h away from HDF5 source code. Pending issues: The module of fortran and pablo are to be resolved in a different commit. Platforms tested: eirene (parallel), arabica (solaris 7 --enable-fortran, --enable-cxx)
* [svn-r5200] Purpose:Quincey Koziol2002-04-181-1/+0
| | | | | | | | | | Code Cleanup Description: Clean up compiler warnings from the last bunch of checkins Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5182] Purpose:Albert Cheng2002-04-141-1/+42
| | | | | | | | Feature Description: Added test to verify H5_MALLOC_WORKS (malloc zero byte) macro Platforms tested: Eirene
* [svn-r4614] Purpose:Quincey Koziol2001-11-201-1/+0
| | | | | | | | Code cleanup Description: Corrected header files needed. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4524] MuQun Yang2001-10-051-7/+1
| | | | | | | | | | | | Purpose: refix tconfig.c Description: Follow Robb's reminder, long_long is used to define __int64 in windows and long long for other platforms at H5private.h. Solution: just change vrfy_ctype(long long....) into vrfy(long_long,.....) in the tconfig.c. Delete the previous macro. Platforms tested: windows 2000, linux
* [svn-r4522] MuQun Yang2001-10-051-0/+6
| | | | | | | | | | | | | Purpose: bug fixed Description: Windows doesn't recognize long long. Instead it uses __int64. So add a macro like #ifdef HAVE____int64 for windows-like platforms. Solution: see above Platforms tested: eirene
* [svn-r4474] Purpose:Albert Cheng2001-09-261-0/+183
New feature. Description: Added a test to verify the correctness of information provided by configure in H5config.h. Some information, such as SIZEOF some types can be hardcoded by config/<machine>. This test verified the information is indeed correct. Currenly, only size of C language types are verified. Platforms tested: Eirene, regular, arabica.