diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-06-30 16:53:11 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-06-30 16:53:11 (GMT) |
commit | a8d9f5cfbc57ee86a79e36bc1b9913f0bddd1a12 (patch) | |
tree | b26b433d246f11db108a58ad3f0547546e8bb1be /windows | |
parent | 2c1d787f3e230895d20389d0c385ef7b06a2aefb (diff) | |
download | hdf5-a8d9f5cfbc57ee86a79e36bc1b9913f0bddd1a12.zip hdf5-a8d9f5cfbc57ee86a79e36bc1b9913f0bddd1a12.tar.gz hdf5-a8d9f5cfbc57ee86a79e36bc1b9913f0bddd1a12.tar.bz2 |
[svn-r11003] Purpose:
bug fix
Description:
when diffing a string type string , a cycle is made using the hdf5 get_size function, which returns
the type size
some strings might have a NULL terminator character before the type size position
this was noticed on a HDF-EOS file on the HDFEOSVersion attribute which was defined as a type with a 32 size,
but contained a string with 12 characters, making h5diff to compare the extra garbage characters
Solution:
detect the NULL terminator character and end the diff at that position
Platforms tested:
linux
Misc. update:
Diffstat (limited to 'windows')
0 files changed, 0 insertions, 0 deletions