<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdio/printfcommon.h, branch stable/8</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Add support for multibyte thousands_sep encodings, e.g., U+066C.</title>
<updated>2009-01-22T08:14:28+00:00</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2009-01-22T08:14:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=21ca178ece5d3877714d167a673c0b54948640e5'/>
<id>21ca178ece5d3877714d167a673c0b54948640e5</id>
<content type='text'>
The integer thousands' separator code is rewritten in order to
avoid having to preallocate a buffer for the largest possible
digit string with the most possible instances of the longest
possible multibyte thousands' separator. The new version inserts
thousands' separators for integers using the same code as floating point.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The integer thousands' separator code is rewritten in order to
avoid having to preallocate a buffer for the largest possible
digit string with the most possible instances of the longest
possible multibyte thousands' separator. The new version inserts
thousands' separators for integers using the same code as floating point.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify printf's inlined output buffering routines. On amd64, this</title>
<updated>2009-01-17T05:38:14+00:00</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2009-01-17T05:38:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6ec351236802ad416d6f03498db9df75b09dacec'/>
<id>6ec351236802ad416d6f03498db9df75b09dacec</id>
<content type='text'>
reduces the code size by about 10% and improves performance slightly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
reduces the code size by about 10% and improves performance slightly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce code duplication by moving functions that are identical in both</title>
<updated>2009-01-15T04:49:43+00:00</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2009-01-15T04:49:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0a4926406ae19c8057ef86b40704b8e5e9b28137'/>
<id>0a4926406ae19c8057ef86b40704b8e5e9b28137</id>
<content type='text'>
vfprintf.c and vfwprintf.c (except for char/wchar_t differences) to a
common header file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vfprintf.c and vfwprintf.c (except for char/wchar_t differences) to a
common header file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert the insidious macros that handle printf()'s buffering into</title>
<updated>2009-01-15T04:29:02+00:00</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2009-01-15T04:29:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=814d1bc906efef0850d9a8f310fa8cc874814a27'/>
<id>814d1bc906efef0850d9a8f310fa8cc874814a27</id>
<content type='text'>
slightly less evil inline functions, and move the buffering state into
a struct. This will make it possible for helper routines to produce
output for printf() directly, making it possible to untangle the code
somewhat.

In wprintf(), use the same buffering mechanism to reduce diffs to
printf(). This has the side-effect of causing wprintf() to catch write
errors that it previously ignored.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
slightly less evil inline functions, and move the buffering state into
a struct. This will make it possible for helper routines to produce
output for printf() directly, making it possible to untangle the code
somewhat.

In wprintf(), use the same buffering mechanism to reduce diffs to
printf(). This has the side-effect of causing wprintf() to catch write
errors that it previously ignored.
</pre>
</div>
</content>
</entry>
</feed>
