diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-01-24 18:50:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-01-24 18:50:31 (GMT) |
commit | 24c134e28b8f2229d91a5a48ac285bf6f5fc5b94 (patch) | |
tree | 235c6fcecfb37c439e38ebe7f5e83b6b74e839b1 /configure | |
parent | 68e5b3e014da798e8959230106de917ca898e82f (diff) | |
download | hdf5-24c134e28b8f2229d91a5a48ac285bf6f5fc5b94.zip hdf5-24c134e28b8f2229d91a5a48ac285bf6f5fc5b94.tar.gz hdf5-24c134e28b8f2229d91a5a48ac285bf6f5fc5b94.tar.bz2 |
[svn-r9865] Purpose:
Bug fix
Description:
Catch another way that vsnprintf() can fail (this time on the HP) and
deal with that.
Platforms tested:
HP/UX 11.x (kelgia)
Doesn't affect other platforms
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31003,7 +31003,7 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - echo "$as_me:$LINENO: checking if vsnprintf returns correct value" >&5 + echo "$as_me:$LINENO: checking if vsnprintf returns correct value" >&5 echo $ECHO_N "checking if vsnprintf returns correct value... $ECHO_C" >&6 if test "${hdf5_cv_vsnprintf_works+set}" = set; then @@ -31032,7 +31032,7 @@ int test_vsnprintf(const char *fmt,...) ret=vsnprintf(s,16,"%s",ap); va_end(ap); - return(ret==15 ? 1 : 0); + return(ret!=42 ? 1 : 0); } int main(void) |