<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in asprintf.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>8a16b7a1 - General further adoption of SPDX licensing ID tags.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#8a16b7a1</link>
        <description>General further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 3-Clause license.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.Special thanks to Wind River for providing access to &quot;The Duke ofHighlander&quot; tool: an older (2014) run over FreeBSD tree was useful as astarting point.

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Mon, 20 Nov 2017 19:49:47 +0000</pubDate>
        <dc:creator>Pedro F. Giffuni &lt;pfg@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>1d8053c5 - Renumber clauses to reduce diffs to other versions</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#1d8053c5</link>
        <description>Renumber clauses to reduce diffs to other versionsNetBSD, OpenBSD, and Android&apos;s Bionic all number the clauses 1 through 3,so follow suit to make comparison easier.Acked-by: imp@

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Tue, 23 Apr 2013 13:33:13 +0000</pubDate>
        <dc:creator>Ed Maste &lt;emaste@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>3c87aa1d - Implement xlocale APIs from Darwin, mainly for use by libc++.  This adds a</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#3c87aa1d</link>
        <description>Implement xlocale APIs from Darwin, mainly for use by libc++.  This adds aload of _l suffixed versions of various standard library functions that usethe global locale, making them take an explicit locale parameter.  Alsoadds support for per-thread locales.  This work was funded by the FreeBSDFoundation.Please test any code you have that uses the C standard locale functions!Reviewed by:    das (gdtoa changes)Approved by:    dim (mentor)

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Sun, 20 Nov 2011 14:45:42 +0000</pubDate>
        <dc:creator>David Chisnall &lt;theraven@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>601b205e - Rewrite asprintf() as a wrapper around vasprintf(), thus reducing the</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#601b205e</link>
        <description>Rewrite asprintf() as a wrapper around vasprintf(), thus reducing thenumber of functions that have an incestuous relationship with thearcane innards of stdio.

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Mon, 02 Mar 2009 04:11:42 +0000</pubDate>
        <dc:creator>David Schultz &lt;das@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>1e98f887 - Next stage of stdio cleanup: Retire __sFILEX and merge the fields back into</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#1e98f887</link>
        <description>Next stage of stdio cleanup: Retire __sFILEX and merge the fields back into__sFILE.  This was supposed to be done in 6.0.  Some notes:- Where possible I restored the various lines to their pre-__sFILEX state.- Retire INITEXTRA() and just initialize the wchar bits (orientation and  mbstate) explicitly instead.  The various places that used INITEXTRA  didn&apos;t need the locking fields or _up initialized.  (Some places needed  _up to exist and not be off the end of a NULL or garbage pointer, but  they didn&apos;t require it to be initialized to a specific value.)- For now, stdio.h &quot;knows&quot; that pthread_t is a &apos;struct pthread *&apos; to  avoid namespace pollution of including all the pthread types in stdio.h.  Once we remove all the inlines and make __sFILE private it can go back  to using pthread_t, etc.- This does not remove any of the inlines currently and does not change  any of the public ABI of &apos;FILE&apos;.MFC after:	1 monthReviewed by:	peter

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Thu, 17 Apr 2008 22:17:54 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>344141d1 - Back out previous and solve the problems a different way: move va_start/</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#344141d1</link>
        <description>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&apos;t bother trying to shrink the buffer with realloc() beforereturning it.Submitted by:	bde

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Thu, 26 Sep 2002 13:09:48 +0000</pubDate>
        <dc:creator>Tim J. Robbins &lt;tjr@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>3383deca - Sync with OpenBSD: avoid memory leak when __vfprintf() fails because it</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#3383deca</link>
        <description>Sync with OpenBSD: avoid memory leak when __vfprintf() fails because itruns out of memory, always call va_end.

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Thu, 26 Sep 2002 07:55:18 +0000</pubDate>
        <dc:creator>Tim J. Robbins &lt;tjr@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>6879bea8 - Leave room for a trailing NUL not a NULL, that&apos;s not an ASCII character.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#6879bea8</link>
        <description>Leave room for a trailing NUL not a NULL, that&apos;s not an ASCII character.

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Mon, 19 Aug 2002 03:52:36 +0000</pubDate>
        <dc:creator>Juli Mallett &lt;jmallett@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>e74101e4 - Basic support for wide character I/O: getwc(), fgetwc(), getwchar(),</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#e74101e4</link>
        <description>Basic support for wide character I/O: getwc(), fgetwc(), getwchar(),putwc(), fputwc(), putwchar(), ungetwc(), fwide().

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Tue, 13 Aug 2002 09:30:41 +0000</pubDate>
        <dc:creator>Tim J. Robbins &lt;tjr@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>a82bbc73 - Assume __STDC__, remove non-__STDC__ code.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#a82bbc73</link>
        <description>Assume __STDC__, remove non-__STDC__ code.Submitted by: keramida

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Tue, 28 May 2002 17:03:12 +0000</pubDate>
        <dc:creator>Alfred Perlstein &lt;alfred@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>333fc21e - Fix the style of the SCM ID&apos;s.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#333fc21e</link>
        <description>Fix the style of the SCM ID&apos;s.I believe have made all of libc .c&apos;s as consistent as possible.

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Fri, 22 Mar 2002 21:53:29 +0000</pubDate>
        <dc:creator>David E. O&apos;Brien &lt;obrien@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>29ac6bd2 - libc MT-safety, part 2.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#29ac6bd2</link>
        <description>libc MT-safety, part 2.Add a lock to FILE.  flockfile and friends are now implemented(for the most part) in libc.  flockfile_debug is implemented inlibc_r; I suppose it&apos;s about time to kill it but will do it ina future commit.Fix a potential deadlock in _fwalk in a threaded environment.A file flag (__SIGN) was added to stdio.h that, when set, tells_fwalk to ignore it in its walk.  This seemed to be needed inrefill.c because each file needs to be locked when flushing.Add a stub for pthread_self in libc.  This is needed by flockfilewhich is allowed by POSIX to be recursive.Make fgetpos() error return value (-1) match man page.Remove recursive calls to locked functions (stdio); I think I&apos;vegot them all, but I may have missed a couple.A few K&amp;R -&gt; ANSI conversions along with removal of a few instancesof &quot;register&quot;.$Id$ -&gt; $FreeBSD$ in libc/stdio/rget.cNot objected to:	-arch, a few months ago

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Sun, 11 Feb 2001 22:06:43 +0000</pubDate>
        <dc:creator>Daniel Eischen &lt;deischen@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7f3dea24 - $Id$ -&gt; $FreeBSD$</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#7f3dea24</link>
        <description>$Id$ -&gt; $FreeBSD$

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Sat, 28 Aug 1999 00:22:10 +0000</pubDate>
        <dc:creator>Peter Wemm &lt;peter@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>e8420087 - Replace memory leaking instances of realloc with non-leaking reallocf.</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#e8420087</link>
        <description>Replace memory leaking instances of realloc with non-leaking reallocf.In some cases replace if (a == null) a = malloc(x); else a =realloc(a, x); with simple reallocf(a, x).  Per ANSI-C, this isguaranteed to be the same thing.I&apos;ve been running these on my system here w/o ill effects for sometime.  However, the CTM-express is at part 6 of 34 for the CAMchanges, so I&apos;ve not been able to do a build world with the CAM in thetree with these changes.  Shouldn&apos;t impact anything, but...

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Wed, 16 Sep 1998 04:17:47 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>64a965e7 - Replace my original asprintf() and vasprintf() hacks with something</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#64a965e7</link>
        <description>Replace my original asprintf() and vasprintf() hacks with somethingmore cleanly integrated with stdio.  This should be faster and cleanersince it doesn&apos;t memcpy() the data into a seperate buffer.  This letsstdio allocate and manage the buffer and then hand it over to the user.Obtained from: Todd Miller &lt;Todd.Miller@courtesan.com&gt; via OpenBSD

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Wed, 08 Jul 1998 00:44:56 +0000</pubDate>
        <dc:creator>Peter Wemm &lt;peter@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7e546392 - Revert $FreeBSD$ to $Id$</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#7e546392</link>
        <description>Revert $FreeBSD$ to $Id$

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Sat, 22 Feb 1997 15:12:41 +0000</pubDate>
        <dc:creator>Peter Wemm &lt;peter@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>1130b656 - Make the long-awaited change from $Id$ to $FreeBSD$</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#1130b656</link>
        <description>Make the long-awaited change from $Id$ to $FreeBSD$This will make a number of things easier in the future, as well as (finally!)avoiding the Id-smashing problem which has plagued developers for so long.Boy, I&apos;m glad we&apos;re not using sup anymore.  This update would have beeninsane otherwise.

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Tue, 14 Jan 1997 07:20:47 +0000</pubDate>
        <dc:creator>Jordan K. Hubbard &lt;jkh@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>15aa00d5 - Add an implementation of the gnu-ish asprintf() and vasprintf().  They are</title>
        <link>http://172.16.0.5:8080/history/freebsd-13.1/lib/libc/stdio/asprintf.c#15aa00d5</link>
        <description>Add an implementation of the gnu-ish asprintf() and vasprintf().  They arenot based on gpl&apos;ed code, just prototype and usage.  I&apos;m not 100% certainthey behave the same while the system is in trouble (eg: malloc() failing)but in those circumstances all bets would be off anyway.These routines work like sprintf() and vsprintf(), except that instead ofusing a fixed buffer, they allocate memory and return it to the userand it&apos;s the user&apos;s responsibility to free() it.  They have allocate asmuch memory as they need (and can get), so the size of strings it can dealwith is limited only by the amount of memory it can malloc() on yourbehalf.There are a few gpl&apos;ed programs starting to use this interface, and it&apos;sbecoming more common with the scares about security risks with sprintf().I dont like the look of the code that the various programs (includingcvs, gdb, libg++, etc) provide if configure can&apos;t find it on the system.It should be possible to modify the stdio core code to provide thisinterface more efficiently, I was more worried about having somethingthat worked and was secure.  :-)  (I noticed that there was once intendedto be a smprintf() routine when our stdio was written for 4.4BSD, but itlooks pretty stillborn, and it&apos;s intended interface is not clear).  SinceLinux and gnu libc have this interface, it seemed silly to bring yetanother one onto the scene.

            List of files:
            /freebsd-13.1/lib/libc/stdio/asprintf.c</description>
        <pubDate>Mon, 27 May 1996 10:49:43 +0000</pubDate>
        <dc:creator>Peter Wemm &lt;peter@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
