diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-11-16 18:24:44 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-11-16 18:24:44 (GMT) |
commit | 706885260d43891095c910cd5975390504934c09 (patch) | |
tree | 8b849566abdfa4b0f36a8719cbb9d7442d038293 /tools/lib | |
parent | 7fbe30d5abcaf3218a7cea93137fe1f76566484a (diff) | |
download | hdf5-706885260d43891095c910cd5975390504934c09.zip hdf5-706885260d43891095c910cd5975390504934c09.tar.gz hdf5-706885260d43891095c910cd5975390504934c09.tar.bz2 |
[svn-r11736] Purpose:
Cleanup.
Description:
Removed reference to H5_HAVE_VSNPRINTF and the corresponding abort
since we do not use the home-grown potentially memory wacking version
any more.
Platforms tested:
heping.
Misc. update:
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5tools_str.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c index 141aa3e..1c1c1b2 100644 --- a/tools/lib/h5tools_str.c +++ b/tools/lib/h5tools_str.c @@ -162,10 +162,6 @@ h5tools_str_append(h5tools_str_t *str/*in,out*/, const char *fmt, ...) */ size_t newsize = MAX(str->len+nchars+1, 2*str->nalloc); assert(newsize > str->nalloc); /*overflow*/ -#ifndef H5_HAVE_VSNPRINTF - /* If we even made it this far... the HDvsnprintf() clobbered memory: SIGSEGV probable*/ - abort(); -#endif str->s = realloc(str->s, newsize); assert(str->s); str->nalloc = newsize; |