diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2014-05-25 05:55:39 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2014-05-25 05:55:39 (GMT) |
commit | 60f8a4100e2e0b221ab291a99167350299dbbe1b (patch) | |
tree | 4a98a09051a98e25d45c902d0ec92fe86f957970 /src/H5private.h | |
parent | a8b48bc7f5355b951b30bc656f7c7c03b69c0329 (diff) | |
download | hdf5-60f8a4100e2e0b221ab291a99167350299dbbe1b.zip hdf5-60f8a4100e2e0b221ab291a99167350299dbbe1b.tar.gz hdf5-60f8a4100e2e0b221ab291a99167350299dbbe1b.tar.bz2 |
[svn-r25215] Description:
Bring changes from Coverity branch back to trunk:
r20914:
Use HDstrncpy and HDstrncat! --gh
20915:
Use HDstrncpy and HDstrncat! --gh
Tested on:
Mac OSX/64 10.9.3 (amazon) w/gcc 4.9.0, C++, FORTRAN & parallel
(too minor to require h5committest)
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index 125e20c..f971504 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -542,6 +542,9 @@ typedef struct { #ifndef HDasin #define HDasin(X) asin(X) #endif /* HDasin */ +#ifndef HDasprintf + #define HDasprintf asprintf /*varargs*/ +#endif /* HDasprintf */ #ifndef HDassert #define HDassert(X) assert(X) #endif /* HDassert */ |