diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-05-24 19:17:43 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-05-24 19:17:43 (GMT) |
commit | f1aa157f580efc4328cf8b194822b7229a738bee (patch) | |
tree | a923ff51bb7f68344bc7321464b2f3a6410370c0 /fortran/src | |
parent | 2e6769592db8bec18483820513ef671051a60a1c (diff) | |
download | hdf5-f1aa157f580efc4328cf8b194822b7229a738bee.zip hdf5-f1aa157f580efc4328cf8b194822b7229a738bee.tar.gz hdf5-f1aa157f580efc4328cf8b194822b7229a738bee.tar.bz2 |
[svn-r10794] Purpose:
Bug fix
Description:
Fortran tests failed because UTF-8 character set flag wasn't initialized
properly.
Solution:
Elena showed me where the flags needs to be initialized. Problem solved.
Platforms tested:
heping, copper, modi4
Diffstat (limited to 'fortran/src')
-rw-r--r-- | fortran/src/H5_f.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/fortran/src/H5_f.c b/fortran/src/H5_f.c index 302d67e..07eff36 100644 --- a/fortran/src/H5_f.c +++ b/fortran/src/H5_f.c @@ -364,12 +364,13 @@ nh5init_flags_c( int_f *h5d_flags, int_f *h5f_flags, h5t_flags[21] = H5T_NORM_MSBSET; h5t_flags[22] = H5T_NORM_NONE; h5t_flags[23] = H5T_CSET_ASCII; - h5t_flags[24] = H5T_STR_NULLTERM; - h5t_flags[25] = H5T_STR_NULLPAD; - h5t_flags[26] = H5T_STR_SPACEPAD; - h5t_flags[27] = H5T_STR_ERROR; - h5t_flags[28] = H5T_VLEN; - h5t_flags[29] = H5T_ARRAY; + h5t_flags[24] = H5T_CSET_UTF8; + h5t_flags[25] = H5T_STR_NULLTERM; + h5t_flags[26] = H5T_STR_NULLPAD; + h5t_flags[27] = H5T_STR_SPACEPAD; + h5t_flags[28] = H5T_STR_ERROR; + h5t_flags[29] = H5T_VLEN; + h5t_flags[30] = H5T_ARRAY; /* * H5Z flags */ |