diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2006-01-09 18:17:44 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2006-01-09 18:17:44 (GMT) |
commit | df8739d8c61206c3e7acb42930efc54a37cf16b7 (patch) | |
tree | c21a4fc34ff52d67914e76399d3ab83092c27f61 /test/sheap.c | |
parent | ef292e862b684c79be37a022c63e56f7f3fc4a2b (diff) | |
download | hdf5-df8739d8c61206c3e7acb42930efc54a37cf16b7.zip hdf5-df8739d8c61206c3e7acb42930efc54a37cf16b7.tar.gz hdf5-df8739d8c61206c3e7acb42930efc54a37cf16b7.tar.bz2 |
[svn-r11875] Purpose:
Bug fix.
Description:
getenv_all, like some implementations of getenv, keeps an internal buffer
for the getenv values. Application must make a copy of the content of the
returned pointer before calling getenv_all again IF it wants to use the
first content later. The previous code violated this rule and caused
error.
Solution:
Did a small revamp of the h5_fixname to fix the above problem by moving
the getenv_all for HDF5_NOCLEANUP eariler to avoid it clashing the
call of getenv_all for HDF5_PARAPREFIX. No a good permenant fix. Need
to really recode this routine.
Platforms tested:
h5committested.
Diffstat (limited to 'test/sheap.c')
0 files changed, 0 insertions, 0 deletions