diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-04-21 22:26:32 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-04-21 22:26:32 (GMT) |
commit | 8203a4ce4ef7b980e4b4f5cfc8589a44827066c8 (patch) | |
tree | 30817a5e0745c1cfc33b249d3fa83207a2e4a960 /test/enum.c | |
parent | 535172c8fb0ba9078cdaedf26cd36009864e0d99 (diff) | |
download | hdf5-8203a4ce4ef7b980e4b4f5cfc8589a44827066c8.zip hdf5-8203a4ce4ef7b980e4b4f5cfc8589a44827066c8.tar.gz hdf5-8203a4ce4ef7b980e4b4f5cfc8589a44827066c8.tar.bz2 |
[svn-r6721] Purpose:
bug fix
Description:
in the close strong case in H5F_close there was a do..while loop
that executed when nfiles==0, calling malloc(0)
this was causing a failure in the close call in Code Warrior, that returns 0
in the call pt=malloc(0)
Solution:
replaced with a while loop (checks the condition before executing)
Platforms tested:
code warrior, linux
Misc. update:
Diffstat (limited to 'test/enum.c')
0 files changed, 0 insertions, 0 deletions