diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-12-11 04:28:31 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-12-11 04:28:31 (GMT) |
commit | 8ec440e959d5ad75eb655c55129228c000dffe6b (patch) | |
tree | 2068cd01589c122ca6d7016fe3ac9f989767bce2 /bin/checkapi | |
parent | 67f39db8a0b332b10a66128da900bb48faca9b40 (diff) | |
download | hdf5-8ec440e959d5ad75eb655c55129228c000dffe6b.zip hdf5-8ec440e959d5ad75eb655c55129228c000dffe6b.tar.gz hdf5-8ec440e959d5ad75eb655c55129228c000dffe6b.tar.bz2 |
[svn-r11783] Purpose:
bug fix.
Description:
Fixed the segmentation fault errors in modi4, copper and tg-login.
It was due to the misuse of trying to realloc a pointer returned by
getenv_all. (not supposed to.)
Also rearranged the code so that option is checked first, then check
with environment variable, then use default setup. This saves the
need to do realloc at all.
Platforms tested:
Heping, modi4, shanti, copper (copper showed a different error now.)
Diffstat (limited to 'bin/checkapi')
0 files changed, 0 insertions, 0 deletions