summaryrefslogtreecommitdiffstats
path: root/src/H5TBprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-10-10 15:23:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-10-10 15:23:48 (GMT)
commit90fb9e2a77fc4ff7cf894fea7bc06b5c4ffc851c (patch)
treefd15f1d7fe6079bb033c96eab56732f679fdfad6 /src/H5TBprivate.h
parentc71ef4801c27e24a605010d81772adadb6cc921e (diff)
downloadhdf5-90fb9e2a77fc4ff7cf894fea7bc06b5c4ffc851c.zip
hdf5-90fb9e2a77fc4ff7cf894fea7bc06b5c4ffc851c.tar.gz
hdf5-90fb9e2a77fc4ff7cf894fea7bc06b5c4ffc851c.tar.bz2
[svn-r7595] Purpose:
Bug fix Description: The 'char *' type is one of the "strongly" aligned types on Crays, but a 'void *' is "weakly" aligned. So, assigning a 'void *' (pointing to a location to place a 'char *') to a 'char **' can change the pointer value during the assignment. Solution: Don't alias the 'void *' where the variable-length information ('char *' or 'hvl_t') will go. Use a temporary variable on the stack to build up the information about the VL string or sequence and then memcpy() the temporary variable directly to the location pointed to with the 'void *' Platforms tested: FreeBSD 4.9 (sleipnir) Cray SV1 (wind) specific to Cray problems, h5committest not necessary.
Diffstat (limited to 'src/H5TBprivate.h')
0 files changed, 0 insertions, 0 deletions