diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-01-19 02:51:12 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-01-19 02:51:12 (GMT) |
commit | fabb06712b15f111c7ccce8c394ff6fc9bd2f997 (patch) | |
tree | 51b5f57598d1ff355090e481a8268ee5ba80e88c /fortran/src/H5f90proto.h | |
parent | b8f7cdc48d9c8470fdf8930938e75b50210150fb (diff) | |
download | hdf5-fabb06712b15f111c7ccce8c394ff6fc9bd2f997.zip hdf5-fabb06712b15f111c7ccce8c394ff6fc9bd2f997.tar.gz hdf5-fabb06712b15f111c7ccce8c394ff6fc9bd2f997.tar.bz2 |
[svn-r9838] Purpose:
Bug fix
Description:
Correctly retire the H5E_LEN setting, now that the FORTRAN and C++ APIs
have been corrected to not use it either.
Solution:
Pass in the string buffer length for FORTRAN
In the C++ API, call H5Eget_msg() in a manner similar to the way
H5Fget_name() is called.
Platforms tested:
Linux 2.4 (heping) w/FORTRAN & C++
Solaris 2.7 (arabica) w/FORTRAN & C++
Diffstat (limited to 'fortran/src/H5f90proto.h')
-rw-r--r-- | fortran/src/H5f90proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/src/H5f90proto.h b/fortran/src/H5f90proto.h index 437795c..7114ebf 100644 --- a/fortran/src/H5f90proto.h +++ b/fortran/src/H5f90proto.h @@ -948,8 +948,8 @@ H5_FCDLL int_f nh5iget_file_id_c(hid_t_f *obj_id, hid_t_f *file_id); H5_FCDLL int_f nh5eclear_c(void); H5_FCDLL int_f nh5eprint_c1(_fcd name, int_f* namelen); H5_FCDLL int_f nh5eprint_c2(void); -H5_FCDLL int_f nh5eget_major_c(int_f* error_no, _fcd name); -H5_FCDLL int_f nh5eget_minor_c(int_f* error_no, _fcd name); +H5_FCDLL int_f nh5eget_major_c(int_f* error_no, _fcd name, size_t_f* namelen); +H5_FCDLL int_f nh5eget_minor_c(int_f* error_no, _fcd name, size_t_f* namelen); H5_FCDLL int_f nh5eset_auto_c(int_f* printflag); /* |