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/H5f90kit.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/H5f90kit.c')
-rw-r--r-- | fortran/src/H5f90kit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fortran/src/H5f90kit.c b/fortran/src/H5f90kit.c index cfbca28..f782cbf 100644 --- a/fortran/src/H5f90kit.c +++ b/fortran/src/H5f90kit.c @@ -69,12 +69,12 @@ HD5f2cstring(_fcd fdesc, int len) return cstr; } /* HD5f2cstring */ -/* ---------------------------- HDpackFstring ----------------------------- */ +/* ---------------------------- HD5packFstring ----------------------------- */ /* NAME - HDpackFstring -- convert a C string into a Fortran string + HD5packFstring -- convert a C string into a Fortran string USAGE - int HDpackFstring(src, dest, len) + int HD5packFstring(src, dest, len) char * src; IN: source string char * dest; OUT: destination int len; IN: length of string @@ -90,7 +90,7 @@ DESCRIPTION ---------------------------------------------------------------------------*/ int -HDpackFstring(char *src, char *dest, int len) +HD5packFstring(char *src, char *dest, int len) { int sofar; @@ -101,5 +101,5 @@ HDpackFstring(char *src, char *dest, int len) *dest++ = ' '; return 0; -} /* HDpackFstring */ +} /* HD5packFstring */ |