<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdio/fgetwc.c, branch release/7.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-02-24T05:45:17+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-02-24T05:45:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a9c219fa3cec18ef9f30edec6fa106bf0e2d423d'/>
<id>a9c219fa3cec18ef9f30edec6fa106bf0e2d423d</id>
<content type='text'>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>Call __mbrtowc() and __wcrtomb() directly instead of taking detours</title>
<updated>2004-07-20T08:27:27+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-07-20T08:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f9ceea9bf17bc8d7b0020c409743f162c3c5eebd'/>
<id>f9ceea9bf17bc8d7b0020c409743f162c3c5eebd</id>
<content type='text'>
through mbrtowc() and wcrtomb().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
through mbrtowc() and wcrtomb().
</pre>
</div>
</content>
</entry>
<entry>
<title>Slightly reorganize and simplify.</title>
<updated>2004-07-09T15:12:10+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-07-09T15:12:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fcc51917875e7f6d7d620c6a3e8268dcc6306baf'/>
<id>fcc51917875e7f6d7d620c6a3e8268dcc6306baf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Perform conversions straight from the stream buffer instead of scanning</title>
<updated>2004-05-22T15:41:03+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-05-22T15:41:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d6ed810a67fa30e63c4e41b72d7d18da9dfa741b'/>
<id>d6ed810a67fa30e63c4e41b72d7d18da9dfa741b</id>
<content type='text'>
through byte by byte with mbrtowc(). In the usual case (buffer is big
enough to contain the multibyte character, character does not straddle
buffer boundary) this results in only one call to mbrtowc() for each
wide character read.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
through byte by byte with mbrtowc(). In the usual case (buffer is big
enough to contain the multibyte character, character does not straddle
buffer boundary) this results in only one call to mbrtowc() for each
wide character read.
</pre>
</div>
</content>
</entry>
<entry>
<title>Associate a multibyte conversion state object with each stream. Reset it</title>
<updated>2004-05-22T15:19:41+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-05-22T15:19:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=87275e436a0fb31fea2757532860a3ec993d2cd6'/>
<id>87275e436a0fb31fea2757532860a3ec993d2cd6</id>
<content type='text'>
to the initial state when a stream is opened or seeked upon. Use the
stream's conversion state object instead of a freshly-zeroed one in
fgetwc(), fputwc() and ungetwc().

This is only a performance improvement for now, but it would also be
required in order to support state-dependent encodings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to the initial state when a stream is opened or seeked upon. Use the
stream's conversion state object instead of a freshly-zeroed one in
fgetwc(), fputwc() and ungetwc().

This is only a performance improvement for now, but it would also be
required in order to support state-dependent encodings.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare to handle trivial state-dependent encodings. Full support for</title>
<updated>2004-04-07T09:55:05+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-04-07T09:55:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=93996f6d58e252f9f975d3bc8522df8fe227f002'/>
<id>93996f6d58e252f9f975d3bc8522df8fe227f002</id>
<content type='text'>
state-dependent encodings with locking shifts will come later if there
is demand for it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
state-dependent encodings with locking shifts will come later if there
is demand for it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass mbrtowc() and wcrtomb() NULL instead of a pointer to a freshly zeroed</title>
<updated>2003-11-04T11:05:55+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2003-11-04T11:05:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a27a4b369016302f5feeeceed5a128aedb6bcb1f'/>
<id>a27a4b369016302f5feeeceed5a128aedb6bcb1f</id>
<content type='text'>
mbstate_t object that they ignore. The zeroing is fairly expensive, and it
will never be necessary in these functions; when we support state-dependent
encodings, we will pass in a pointer to the file's mbstate_t object, and
only zero it at the time the file gets opened.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mbstate_t object that they ignore. The zeroing is fairly expensive, and it
will never be necessary in these functions; when we support state-dependent
encodings, we will pass in a pointer to the file's mbstate_t object, and
only zero it at the time the file gets opened.
</pre>
</div>
</content>
</entry>
<entry>
<title>Set the error bit on the stream if an encoding error occurs. Improve</title>
<updated>2002-10-16T12:09:43+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-10-16T12:09:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6180233fd804806e7301790d2330da50ca57e71f'/>
<id>6180233fd804806e7301790d2330da50ca57e71f</id>
<content type='text'>
handling of multibyte sequences representing null wide characters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
handling of multibyte sequences representing null wide characters.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce unlocked versions of fputwc() and fgetwc() called __fputwc()</title>
<updated>2002-09-20T13:20:41+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-09-20T13:20:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8f030a44b8c665d111ed900df1a8203dde0af1e7'/>
<id>8f030a44b8c665d111ed900df1a8203dde0af1e7</id>
<content type='text'>
and __fgetwc() which can be used when we know the file is locked.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and __fgetwc() which can be used when we know the file is locked.
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimise the common case where no special encoding is in use (LC_CTYPE is "C"</title>
<updated>2002-09-18T12:17:28+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-09-18T12:17:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0b7bc80226a5e70af58cce04b29957d71786e835'/>
<id>0b7bc80226a5e70af58cce04b29957d71786e835</id>
<content type='text'>
or "POSIX", other European locales). Use __sgetc() and __sputc() where
possible to avoid a wasteful lock and unlock for each byte and to avoid
function call overhead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
or "POSIX", other European locales). Use __sgetc() and __sputc() where
possible to avoid a wasteful lock and unlock for each byte and to avoid
function call overhead.
</pre>
</div>
</content>
</entry>
</feed>
