diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2002-03-14 20:12:12 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2002-03-14 20:12:12 (GMT) |
commit | 7b77f971886d6b1fb3f4e5a4f0e7454dbc487a09 (patch) | |
tree | 2d575eae52c953848fffdd580cc5c998c72fe0e8 /fortran/src/H5Ef.c | |
parent | 34880b42a01eef71b8746d78775b25f20831ddb1 (diff) | |
download | hdf5-7b77f971886d6b1fb3f4e5a4f0e7454dbc487a09.zip hdf5-7b77f971886d6b1fb3f4e5a4f0e7454dbc487a09.tar.gz hdf5-7b77f971886d6b1fb3f4e5a4f0e7454dbc487a09.tar.bz2 |
[svn-r5066]
Purpose:
Bug fix
Description:
I borrowed function HDpackFstring from the HDF4 Library and
left name unchanged. It causes linking problems for Fortran users
that use both HDF4 and HDF5 Libraries in their applications.
Solution:
Changed the name to be HD5packFstring
Platforms tested:
Solaris 2.7
Diffstat (limited to 'fortran/src/H5Ef.c')
-rw-r--r-- | fortran/src/H5Ef.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/src/H5Ef.c b/fortran/src/H5Ef.c index 7b5aea4..47fac00 100644 --- a/fortran/src/H5Ef.c +++ b/fortran/src/H5Ef.c @@ -115,7 +115,7 @@ nh5eget_major_c(int_f* error_no, _fcd name) * Call H5Eget_major function. */ c_name = H5Eget_major(c_error_no); - HDpackFstring((char*)c_name, _fcdtocp(name), strlen(c_name)); + HD5packFstring((char*)c_name, _fcdtocp(name), strlen(c_name)); if(!strcmp(c_name, "Invalid major error number")) return ret_val; ret_val = 0; @@ -145,7 +145,7 @@ nh5eget_minor_c(int_f* error_no, _fcd name) * Call H5Eget_minor function. */ c_name = H5Eget_minor(c_error_no); - HDpackFstring((char*)c_name, _fcdtocp(name), strlen(c_name)); + HD5packFstring((char*)c_name, _fcdtocp(name), strlen(c_name)); if(!strcmp(c_name, "Invalid minor error number")) return ret_val; ret_val = 0; |