Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2002 06:09:48 -0700 (PDT)
From:      "Tim J. Robbins" <tjr@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdio asprintf.c
Message-ID:  <200209261309.g8QD9ncY042043@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
tjr         2002/09/26 06:09:48 PDT

  Modified files:
    lib/libc/stdio       asprintf.c 
  Log:
  Back out previous and solve the problems a different way: move va_start/
  va_end closer to the __vfprintf() call, free the buffer when __vfprintf()
  fails and don't bother trying to shrink the buffer with realloc() before
  returning it.
  
  Submitted by:   bde
  
  Revision  Changes    Path
  1.13      +13 -20    src/lib/libc/stdio/asprintf.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209261309.g8QD9ncY042043>