diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-06-17 20:07:50 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-06-17 20:07:50 (GMT) |
commit | ea9b094c18566ab2a71458a86f9673451c43fe4d (patch) | |
tree | b1bfde1911eaa817279c821721563325ab19528b /src/H5Tnative.c | |
parent | e7b55928b6c67dbef4d25bfec34eb0c21f1cb6bc (diff) | |
download | hdf5-ea9b094c18566ab2a71458a86f9673451c43fe4d.zip hdf5-ea9b094c18566ab2a71458a86f9673451c43fe4d.tar.gz hdf5-ea9b094c18566ab2a71458a86f9673451c43fe4d.tar.bz2 |
[svn-r15228] Description:
Bring back revision 15227 from trunk:
Small cleanups to copying datatypes
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Mac OS X/32 10.5.3 (amazon) in debug mode
Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'src/H5Tnative.c')
-rw-r--r-- | src/H5Tnative.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tnative.c b/src/H5Tnative.c index da478c4..0deba66 100644 --- a/src/H5Tnative.c +++ b/src/H5Tnative.c @@ -277,7 +277,7 @@ H5T_get_native_type(H5T_t *dtype, H5T_direction_t direction, size_t *struct_alig /* Construct child compound type and retrieve a list of their IDs, offsets, total size, and alignment for compound type. */ for(i=0; i<nmemb; i++) { - if((memb_type = H5T_get_member_type(dtype, i))==NULL) + if((memb_type = H5T_get_member_type(dtype, i, H5T_COPY_TRANSIENT))==NULL) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "member type retrieval failed") if((comp_mname[i] = H5T_get_member_name(dtype, i))==NULL) |