<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libc/stdio/vasprintf.c, branch release/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2011-11-20T14:45:42Z</updated>
<entry>
<title>Implement xlocale APIs from Darwin, mainly for use by libc++.  This adds a</title>
<updated>2011-11-20T14:45:42Z</updated>
<author>
<name>David Chisnall</name>
<email>theraven@FreeBSD.org</email>
</author>
<published>2011-11-20T14:45:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3c87aa1d3dc1d8dad3efad322852a8e1e76dee55'/>
<id>urn:sha1:3c87aa1d3dc1d8dad3efad322852a8e1e76dee55</id>
<content type='text'>
load of _l suffixed versions of various standard library functions that use
the global locale, making them take an explicit locale parameter.  Also
adds support for per-thread locales.  This work was funded by the FreeBSD
Foundation.

Please test any code you have that uses the C standard locale functions!

Reviewed by:    das (gdtoa changes)
Approved by:    dim (mentor)
</content>
</entry>
<entry>
<title>I feel this wording of the history is more clear.</title>
<updated>2010-04-05T22:09:29Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2010-04-05T22:09:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6a18a77221ca134826742f1aa91fe4966f772b22'/>
<id>urn:sha1:6a18a77221ca134826742f1aa91fe4966f772b22</id>
<content type='text'>
ANSIfy vasprintf() while I'm here.
</content>
</entry>
<entry>
<title>- Use an initializer macro to initialize fields in 'fake' FILE objects used</title>
<updated>2010-03-11T17:03:32Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2010-03-11T17:03:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1b0181df2f46ef73a41ea8c9b7026718f8eec3a1'/>
<id>urn:sha1:1b0181df2f46ef73a41ea8c9b7026718f8eec3a1</id>
<content type='text'>
  by *sprintf(), etc.
- Explicitly initialize _fl_mutex to PTHREAD_MUTEX_INITIALIZER for all FILE
  objects.  This is currently a nop on FreeBSD, but is import for other
  platforms (or in the future) where PTHREAD_MUTEX_INITIALIZER is not simply
  zero.

PR:		threads/141198
Reported by:	Jeremy Huddleston @ Apple
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Next stage of stdio cleanup: Retire __sFILEX and merge the fields back into</title>
<updated>2008-04-17T22:17:54Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2008-04-17T22:17:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1e98f88776fc606df245a382685b1ac634a81389'/>
<id>urn:sha1:1e98f88776fc606df245a382685b1ac634a81389</id>
<content type='text'>
__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'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't require it to be initialized to a specific value.)
- For now, stdio.h "knows" that pthread_t is a 'struct pthread *' 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 'FILE'.

MFC after:	1 month
Reviewed by:	peter
</content>
</entry>
<entry>
<title>Back out previous, free the buffer when __vfprintf() fails and don't bother</title>
<updated>2002-09-26T13:11:24Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-09-26T13:11:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=27a29543f3a991b58e859b7c01c24c07bcbe8d29'/>
<id>urn:sha1:27a29543f3a991b58e859b7c01c24c07bcbe8d29</id>
<content type='text'>
trying to shrink the buffer with realloc() before returning it.
</content>
</entry>
<entry>
<title>Sync with OpenBSD: avoid memory leak when __vfprintf() fails because it</title>
<updated>2002-09-26T07:55:18Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-09-26T07:55:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3383deca89b096faaebf065ba1a4be55ea1b46f4'/>
<id>urn:sha1:3383deca89b096faaebf065ba1a4be55ea1b46f4</id>
<content type='text'>
runs out of memory, always call va_end.
</content>
</entry>
<entry>
<title>o Merge &lt;machine/ansi.h&gt; and &lt;machine/types.h&gt; into a new header</title>
<updated>2002-08-21T16:20:02Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-08-21T16:20:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=abbd8902334e8c6409384593b4a2c81f939b47b4'/>
<id>urn:sha1:abbd8902334e8c6409384593b4a2c81f939b47b4</id>
<content type='text'>
  called &lt;machine/_types.h&gt;.
o &lt;machine/ansi.h&gt; will continue to live so it can define MD clock
  macros, which are only MD because of gratuitous differences between
  architectures.
o Change all headers to make use of this.  This mainly involves
  changing:
    #ifdef _BSD_FOO_T_
    typedef	_BSD_FOO_T_	foo_t;
    #undef _BSD_FOO_T_
    #endif
  to:
    #ifndef _FOO_T_DECLARED
    typedef	__foo_t	foo_t;
    #define	_FOO_T_DECLARED
    #endif

Concept by:	bde
Reviewed by:	jake, obrien
</content>
</entry>
<entry>
<title>Leave room for a trailing NUL not a NULL, that's not an ASCII character.</title>
<updated>2002-08-19T03:52:36Z</updated>
<author>
<name>Juli Mallett</name>
<email>jmallett@FreeBSD.org</email>
</author>
<published>2002-08-19T03:52:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6879bea818b8bbf6d3b89560fb6b151a52eed368'/>
<id>urn:sha1:6879bea818b8bbf6d3b89560fb6b151a52eed368</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Basic support for wide character I/O: getwc(), fgetwc(), getwchar(),</title>
<updated>2002-08-13T09:30:41Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-08-13T09:30:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e74101e4eff767325553039def89de70b70f36d3'/>
<id>urn:sha1:e74101e4eff767325553039def89de70b70f36d3</id>
<content type='text'>
putwc(), fputwc(), putwchar(), ungetwc(), fwide().
</content>
</entry>
<entry>
<title>Fix the style of the SCM ID's.</title>
<updated>2002-03-22T21:53:29Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2002-03-22T21:53:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=333fc21e3cd79bca0c94d7722c5a56cb5ad078d1'/>
<id>urn:sha1:333fc21e3cd79bca0c94d7722c5a56cb5ad078d1</id>
<content type='text'>
I believe have made all of libc .c's as consistent as possible.
</content>
</entry>
</feed>
