diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-01-24 03:26:37 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-01-24 03:26:37 (GMT) |
commit | 563a8dd1401c2f3c04b897f2a727d7d6ac9b141f (patch) | |
tree | 4a62599af4c3f8e1d7d9f007a11fc2fbe0f18cab /src/H5config.h.in | |
parent | d363f95d6d7c8ac25ccf319e9d136fc5842b9474 (diff) | |
download | hdf5-563a8dd1401c2f3c04b897f2a727d7d6ac9b141f.zip hdf5-563a8dd1401c2f3c04b897f2a727d7d6ac9b141f.tar.gz hdf5-563a8dd1401c2f3c04b897f2a727d7d6ac9b141f.tar.bz2 |
[svn-r9861] Purpose:
Bug fix
Description:
Add detect vasprintf() routine and use it instead of vsnprintf() when
formatting error descriptions if it's available.
Added configure test to detect "broken" vsnprintf() implementations which
don't return the correct number of character for strings that are too long to
fit into the buffer provided (currently a problem on the SGIs and probably the
HP).
Re-wrote error formatting code in H5Epush_stack() to handle broken
vsnprintf() implementations, etc.
Platforms tested:
IRIX64 6.5 (modi4)
h5committest
Diffstat (limited to 'src/H5config.h.in')
-rw-r--r-- | src/H5config.h.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in index 6edc4fd..ab57f34 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -366,6 +366,9 @@ /* Define to 1 if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the `vasprintf' function. */ +#undef HAVE_VASPRINTF + /* Define to 1 if you have the `vsnprintf' function. */ #undef HAVE_VSNPRINTF @@ -553,6 +556,10 @@ correct precision. */ #undef ULLONG_TO_LDOUBLE_PRECISION_WORKS +/* Define if vsnprintf() returns the correct value for formatted strings that + don't fit into size allowed */ +#undef VSNPRINTF_WORKS + /* Define if the HDF5 v1.6 compatibility functions are to be compiled in */ #undef WANT_H5_V1_6_COMPAT |