diff options
author | Robb Matzke <matzke@llnl.gov> | 1999-02-26 19:58:14 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1999-02-26 19:58:14 (GMT) |
commit | 912c5a0874182f0705e3fe6756859817e2a64cdd (patch) | |
tree | a68f01992ce5a618dfee8f69778e2ffd8dda03af /src/H5Tconv.c | |
parent | efb18f8785f0c1f967743fba1ed13a392a0ca601 (diff) | |
download | hdf5-912c5a0874182f0705e3fe6756859817e2a64cdd.zip hdf5-912c5a0874182f0705e3fe6756859817e2a64cdd.tar.gz hdf5-912c5a0874182f0705e3fe6756859817e2a64cdd.tar.bz2 |
[svn-r1108] Changes since 19990225
----------------------
./INSTALL
Added warnings and a disclaimer about GNU, DEC, Irix64, and NT
compilers that generate incorrect machine code.
./configure.in
./src/H5private.h
Detects and includes <sys/param.h> which is needed on FreeBSD
before <sys/proc.h> even though we only really using anything
from <sys/proc.h> on the DEC Alpha.
./config/irix64
Turned off warnings for duplicate definitions from the linker
because -lnsl on irix has the same stuff in it as -lc.
./config/irix6.x
Split up the CC and CFLAGS settings like with irix64 so that
compilers besides `-n32' can be used.
./bin/snapshot
The snapshots are tagged with names like hdf5-1_1_52 which is
similar to the way the releases are tagged (cvs doesn't allow
dots in tags).
./test/dtypes.c
./src/H5private.h
./src/H5Tconv.c
Fixed some alignment violations on the DEC when using high
optimization levels. The DEC incorrectly optimizes certain
memcpy() and memmove() calls when the source argument is not
word aligned if the call looks like it's copying an atomic
data type.
./test/hyperslab
Worked around code generation bugs in the Irix64 Mongoose 7.00
compiler by casting some `unsigned long' values to `unsigned'
in an expression.
./src/H5Ocomp.c
Fixed a place where %d was used to print a size_t.
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r-- | src/H5Tconv.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c index 462bc25..5c91a68 100644 --- a/src/H5Tconv.c +++ b/src/H5Tconv.c @@ -305,7 +305,7 @@ static intn interface_initialize_g = 0; if (d_mv) priv->d_aligned += nelmts; \ for (elmtno=0; elmtno<nelmts; elmtno++, DIR src, DIR dst) { \ if (s_mv) { \ - memcpy(&aligned, src, sizeof(ST)); \ + HDmemcpy(&aligned, src, sizeof(ST)); \ s = (ST*)&aligned; \ } else { \ s = src; \ @@ -317,7 +317,7 @@ static intn interface_initialize_g = 0; } /* ... user-defined stuff here ... */ #define CI_END \ - if (d_mv) memcpy(dst, &aligned, dt_size); \ + if (d_mv) HDmemcpy(dst, &aligned, dt_size); \ } \ break; \ default: \ @@ -4718,7 +4718,7 @@ H5T_conv_float_double (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, for (elmtno=0; elmtno<nelmts; elmtno++, --src, --dst) { /* Align source and/or destination */ if (src_mv) { - memcpy(&aligned, src, sizeof(float)); + HDmemcpy(&aligned, src, sizeof(float)); s = (float*)&aligned; } else { s = src; @@ -4730,7 +4730,7 @@ H5T_conv_float_double (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, *d = *s; /* Unalign destination */ - if (dst_mv) memcpy(dst, &aligned, sizeof(double)); + if (dst_mv) HDmemcpy(dst, &aligned, sizeof(double)); } break; @@ -4821,7 +4821,7 @@ H5T_conv_double_float (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, for (elmtno=0; elmtno<nelmts; elmtno++, src++, dst++) { /* Align source and/or destination */ if (src_mv) { - memcpy(&aligned, src, sizeof(double)); + HDmemcpy(&aligned, src, sizeof(double)); s = (double*)&aligned; } else { s = src; @@ -4845,7 +4845,7 @@ H5T_conv_double_float (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, } /* Unalign destination */ - if (dst_mv) memcpy(dst, &aligned, sizeof(float)); + if (dst_mv) HDmemcpy(dst, &aligned, sizeof(float)); } break; |