From: hniksic Date: Fri, 8 Jul 2005 07:36:59 +0000 (-0700) Subject: [svn] Doc update. X-Git-Tag: v1.13~755 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=4a0417f00bae994ddcc9946927f199b66a8a533b [svn] Doc update. --- diff --git a/src/utils.c b/src/utils.c index b79c8dcd..2a88158d 100644 --- a/src/utils.c +++ b/src/utils.c @@ -175,6 +175,9 @@ aprintf (const char *fmt, ...) int size = 32; char *str = xmalloc (size); + /* #### This code will infloop and eventually abort in xrealloc if + passed a FMT that causes snprintf to consistently return -1. */ + while (1) { int n;