<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libc/stdio/stdio.c, branch release/5.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2003-01-07T06:17:13Z</updated>
<entry>
<title>#include &lt;stdlib.h&gt; for free()'s prototype.</title>
<updated>2003-01-07T06:17:13Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2003-01-07T06:17:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0b4b7b65edab8d51ebed931901f58d95943dc132'/>
<id>urn:sha1:0b4b7b65edab8d51ebed931901f58d95943dc132</id>
<content type='text'>
</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>
<entry>
<title>Remove 'register' keyword.</title>
<updated>2002-03-21T18:49:23Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2002-03-21T18:49:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8fb3f3f68288ae2b1b53dd65e3dd673d83c80f4c'/>
<id>urn:sha1:8fb3f3f68288ae2b1b53dd65e3dd673d83c80f4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Help to recover from bad seek (i.e. negative or too big) happens beyond</title>
<updated>2001-10-24T17:25:49Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2001-10-24T17:25:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e41febc84bf8630e945f4e839c04fde106509681'/>
<id>urn:sha1:e41febc84bf8630e945f4e839c04fde106509681</id>
<content type='text'>
our pre-check control. Do the same way as refill.c does when it set __SERR,
i.e. clear read and ungetc buffers. Clear EOF flag too.
</content>
</entry>
<entry>
<title>Back out read buffer invalidating via __SMOD.</title>
<updated>2001-10-23T23:52:11Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2001-10-23T23:52:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3f498bf72b7dea1dfc10e65cc688301e07382031'/>
<id>urn:sha1:3f498bf72b7dea1dfc10e65cc688301e07382031</id>
<content type='text'>
It was correct, but not needed because internal buffer cleared on each seek
outside of it.
</content>
</entry>
<entry>
<title>Disallow fseek() optimization in internal read buffer, if pointer is moved by</title>
<updated>2001-10-23T22:48:00Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2001-10-23T22:48:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=751fc77994897c98526afeeab200b22c4555467a'/>
<id>urn:sha1:751fc77994897c98526afeeab200b22c4555467a</id>
<content type='text'>
seek. It means that beginning of read buffer becomes not the same as current
file position.
</content>
</entry>
<entry>
<title>1) If __SAPP stream is not seekable, remove __SAPP flag on first call instead</title>
<updated>2001-09-07T17:16:02Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2001-09-07T17:16:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1b89a29689c955b26fa7a48d89ed6eaa20a95994'/>
<id>urn:sha1:1b89a29689c955b26fa7a48d89ed6eaa20a95994</id>
<content type='text'>
of repeating unsuccessful lseek call on each write (original stdio bug).

2) Save errno accross _sseek call in _swrite to not touch it in case write
success (original stdio bug).

3) Add _sseek error checking back, but only for __SOPT mode now.
</content>
</entry>
<entry>
<title>For now just back out seek error checking in __SAPP case, it cause problems</title>
<updated>2001-09-07T02:13:11Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2001-09-07T02:13:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ac206f37a144c456a64da6af542cc922c1ccf938'/>
<id>urn:sha1:ac206f37a144c456a64da6af542cc922c1ccf938</id>
<content type='text'>
with non-seekable streams.  Now here is what here was originally, but it is
ugly, producing unneded seek syscall on each non-seekable stream write.  I'll
think about proper solution later.
</content>
</entry>
<entry>
<title>Re-arrange my funopen(3) fix to minimize differences with original stdio code,</title>
<updated>2001-09-03T02:24:37Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2001-09-03T02:24:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5e00917d95e5b28db7af2ce3dce4f19ba54f1e2c'/>
<id>urn:sha1:5e00917d95e5b28db7af2ce3dce4f19ba54f1e2c</id>
<content type='text'>
no functional changes.

Add fp-&gt;_offset optimization in _SAPP+_SOPT case
</content>
</entry>
<entry>
<title>Move all stdio internal flags processing and setting out of __sread(),</title>
<updated>2001-09-02T19:10:10Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2001-09-02T19:10:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=924888f977ae2a2b4025a530e2b63d0b8a62e758'/>
<id>urn:sha1:924888f977ae2a2b4025a530e2b63d0b8a62e758</id>
<content type='text'>
__swrite() and __sseek() to higher level. According to funopen(3) they all
are just wrappers to something like standard read(2), write(2) and
lseek(2), i.e. must not touch stdio internals because they are replaceable
with any other functions knows nothing about stdio internals. See example
of funopen(3) usage in sendmail sources f.e.

NOTE: this is original stdio bug, not result of my range checkin added.
</content>
</entry>
</feed>
