<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdio/vasprintf.c, branch release/6.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F6.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F6.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2005-11-03T00:35:26Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2005-11-03T00:35:26Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2005-11-03T00:35:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3640cb54210edbb7edbf1b12ef0127ecfcea967d'/>
<id>urn:sha1:3640cb54210edbb7edbf1b12ef0127ecfcea967d</id>
<content type='text'>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</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/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/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/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/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/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/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>
<entry>
<title>Remove _THREAD_SAFE and make libc thread-safe by default by</title>
<updated>2001-01-24T13:01:12Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2001-01-24T13:01:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d201fe46e355212750b727061e6a7ac005267852'/>
<id>urn:sha1:d201fe46e355212750b727061e6a7ac005267852</id>
<content type='text'>
adding (weak definitions to) stubs for some of the pthread
functions.  If the threads library is linked in, the real
pthread functions will pulled in.

Use the following convention for system calls wrapped by the
threads library:
	__sys_foo - actual system call
	_foo - weak definition to __sys_foo
	foo - weak definition to __sys_foo

Change all libc uses of system calls wrapped by the threads
library from foo to _foo.  In order to define the prototypes
for _foo(), we introduce namespace.h and un-namespace.h
(suggested by bde).  All files that need to reference these
system calls, should include namespace.h before any standard
includes, then include un-namespace.h after the standard
includes and before any local includes.  &lt;db.h&gt; is an exception
and shouldn't be included in between namespace.h and
un-namespace.h  namespace.h will define foo to _foo, and
un-namespace.h will undefine foo.

Try to eliminate some of the recursive calls to MT-safe
functions in libc/stdio in preparation for adding a mutex
to FILE.  We have recursive mutexes, but would like to avoid
using them if possible.

Remove uneeded includes of &lt;errno.h&gt; from a few files.

Add $FreeBSD$ to a few files in order to pass commitprep.

Approved by:	-arch
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T00:22:10Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T00:22:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7f3dea244c40159a41ab22da77a434d7c5b5e85a'/>
<id>urn:sha1:7f3dea244c40159a41ab22da77a434d7c5b5e85a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace memory leaking instances of realloc with non-leaking reallocf.</title>
<updated>1998-09-16T04:17:47Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>1998-09-16T04:17:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e8420087b0ae4a2d0611cd2f6413d150cfc83554'/>
<id>urn:sha1:e8420087b0ae4a2d0611cd2f6413d150cfc83554</id>
<content type='text'>
In some cases replace if (a == null) a = malloc(x); else a =
realloc(a, x); with simple reallocf(a, x).  Per ANSI-C, this is
guaranteed to be the same thing.

I've been running these on my system here w/o ill effects for some
time.  However, the CTM-express is at part 6 of 34 for the CAM
changes, so I've not been able to do a build world with the CAM in the
tree with these changes.  Shouldn't impact anything, but...
</content>
</entry>
</feed>
