From 706885260d43891095c910cd5975390504934c09 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 16 Nov 2005 13:24:44 -0500 Subject: [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: --- tools/lib/h5tools_str.c | 4 ---- 1 file changed, 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; -- cgit v0.12