<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/src/stdio, branch v0.8.2</title>
<subtitle>musl - an implementation of the standard library for Linux-based systems</subtitle>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/'/>
<entry>
<title>more fmemopen null termination fixes</title>
<updated>2011-09-05T01:53:20+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-05T01:53:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=d2e061a2bd3f7674cfef2e2217e0695419041b5e'/>
<id>d2e061a2bd3f7674cfef2e2217e0695419041b5e</id>
<content type='text'>
null termination is only added when current size grows.
in update modes, null termination is not added if it does not fit
(i.e. it is not allowed to clobber data).

these rules make very little sense, but that's how it goes..
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
null termination is only added when current size grows.
in update modes, null termination is not added if it does not fit
(i.e. it is not allowed to clobber data).

these rules make very little sense, but that's how it goes..
</pre>
</div>
</content>
</entry>
<entry>
<title>fix some fmemopen behaviors</title>
<updated>2011-09-05T01:40:42+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-05T01:40:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=e72ee5786b1f328da131b87388333c2e3a09b7b3'/>
<id>e72ee5786b1f328da131b87388333c2e3a09b7b3</id>
<content type='text'>
read should not be allowed past "current size".
append mode should write at "current size", not buffer size.
null termination should not be written except when "current size" grows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
read should not be allowed past "current size".
append mode should write at "current size", not buffer size.
null termination should not be written except when "current size" grows.
</pre>
</div>
</content>
</entry>
<entry>
<title>fmemopen: fix eof handling, hopefully right this time</title>
<updated>2011-09-04T20:06:38+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-04T20:06:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=22e4542348352235614b57948025bdd0cc30dc32'/>
<id>22e4542348352235614b57948025bdd0cc30dc32</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fmemopen fixes</title>
<updated>2011-09-04T20:04:28+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-04T20:04:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=f81279ff583ef81bc88a46dd1d0140fb6e0ed222'/>
<id>f81279ff583ef81bc88a46dd1d0140fb6e0ed222</id>
<content type='text'>
disallow seek past end of buffer (per posix)
fix position accounting to include data buffered for read
don't set eof flag when no data was requested
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
disallow seek past end of buffer (per posix)
fix position accounting to include data buffered for read
don't set eof flag when no data was requested
</pre>
</div>
</content>
</entry>
<entry>
<title>memstreams: fix incorrect handling of file pos &gt; current size</title>
<updated>2011-09-04T14:29:04+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-04T14:29:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=7ee3dcb3c603b20fcd4547ffb00e11701c6d1cf4'/>
<id>7ee3dcb3c603b20fcd4547ffb00e11701c6d1cf4</id>
<content type='text'>
the addition is safe and cannot overflow because both operands are
positive when considered as signed quantities.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the addition is safe and cannot overflow because both operands are
positive when considered as signed quantities.
</pre>
</div>
</content>
</entry>
<entry>
<title>optimize seek function for memory streams</title>
<updated>2011-09-04T04:08:32+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-04T04:08:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=c88f36f55623124d09f48631974ca38aaec00057'/>
<id>c88f36f55623124d09f48631974ca38aaec00057</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix twos complement overflow bug in mem streams boundary check</title>
<updated>2011-09-04T04:06:01+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-04T04:06:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=32d67e938e8da0f37c59247acee8b10eaf9a113c'/>
<id>32d67e938e8da0f37c59247acee8b10eaf9a113c</id>
<content type='text'>
the expression -off is not safe in case off is the most-negative
value. instead apply - to base which is known to be non-negative and
bounded within sanity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the expression -off is not safe in case off is the most-negative
value. instead apply - to base which is known to be non-negative and
bounded within sanity.
</pre>
</div>
</content>
</entry>
<entry>
<title>implement fmemopen</title>
<updated>2011-09-04T03:26:17+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-04T03:26:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=d4fa6f0e08ff5a292d2aeeeeda80670a1a082cae'/>
<id>d4fa6f0e08ff5a292d2aeeeeda80670a1a082cae</id>
<content type='text'>
testing so far has been minimal. may need further work.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
testing so far has been minimal. may need further work.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix some length calculations in memory streams</title>
<updated>2011-09-04T00:19:51+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-04T00:19:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=1e6937643577e1fb5ea8696c2f583e20bcd29279'/>
<id>1e6937643577e1fb5ea8696c2f583e20bcd29279</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>implement open_wmemstream</title>
<updated>2011-09-03T23:49:46+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-09-03T23:49:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=1461e027579c16a6bd95a264d9a1db75a4c3fa74'/>
<id>1461e027579c16a6bd95a264d9a1db75a4c3fa74</id>
<content type='text'>
not heavily tested, but it seems to be correct, including the odd
behavior that seeking is in terms of wide character count. this
precludes any simple buffering, so we just make the stream unbuffered.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
not heavily tested, but it seems to be correct, including the odd
behavior that seeking is in terms of wide character count. this
precludes any simple buffering, so we just make the stream unbuffered.
</pre>
</div>
</content>
</entry>
</feed>
