]> sjero.net Git - wget/commitdiff
[svn] Doc update.
authorhniksic <devnull@localhost>
Fri, 8 Jul 2005 07:36:59 +0000 (00:36 -0700)
committerhniksic <devnull@localhost>
Fri, 8 Jul 2005 07:36:59 +0000 (00:36 -0700)
src/utils.c

index b79c8dcdd3d1556c0b0f3f48f43bcfa3e4f9dcd2..2a88158db50ee4c4229af58f6a00a8c9c5884910 100644 (file)
@@ -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;