diff options
author | Paul Harten <pharten@ncsa.uiuc.edu> | 1999-02-01 22:56:27 (GMT) |
---|---|---|
committer | Paul Harten <pharten@ncsa.uiuc.edu> | 1999-02-01 22:56:27 (GMT) |
commit | 4fc2c5fb596e4233295fad8d66dd963525780a1f (patch) | |
tree | 7526083b6088b6be2f3502c5b7b7c24991d099e2 /INSTALL.parallel | |
parent | 3dae05f72ddd7a4e1eb6cd7dd4566583f8c7032d (diff) | |
download | hdf5-4fc2c5fb596e4233295fad8d66dd963525780a1f.zip hdf5-4fc2c5fb596e4233295fad8d66dd963525780a1f.tar.gz hdf5-4fc2c5fb596e4233295fad8d66dd963525780a1f.tar.bz2 |
[svn-r1043] Purpose:
Bug fix
Problem:
Depending on how the string size changes, different buffers are used
when copying from one array of strings to another array of strings.
An ASSERTION() is set up to check the validity of the buffer being
used for each element of the string array being copied. This
ASSERTION() fails for a 10 element string array of string length 42
being copied to a 10 element string array of string length 50.
Solution:
The overlap variable (olap) is calculated slightly differently.
Also, since olap and nelmts are unsigned types, the conditional
assignment:
d = elmtno >= nelmts-olap ? dbuf : dp
should be rewitten as:
d = elmtno+olap >= nelmts ? dbuf : dp
This same problem/solution may exist in H5T_conv_i_i(), and
H5T_conv_f_f().
Platform tested:
Solaris2.5
Diffstat (limited to 'INSTALL.parallel')
0 files changed, 0 insertions, 0 deletions