<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/src/stdio, branch v0.7.12</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>fix logic in __fwriting</title>
<updated>2011-06-30T17:27:08+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-06-30T17:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=e5cb55fedd811f71cd91ef097a8a4a4964d8c564'/>
<id>e5cb55fedd811f71cd91ef097a8a4a4964d8c564</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add and consolidate nasty stdio_ext junk</title>
<updated>2011-06-30T16:44:48+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-06-30T16:44:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=a0b56b947a5a8a58fe2accea7f6d9ee927d70ad4'/>
<id>a0b56b947a5a8a58fe2accea7f6d9ee927d70ad4</id>
<content type='text'>
hopefully this resolves the rest of the issues with hideously
nonportable hacks in programs that use gnulib.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
hopefully this resolves the rest of the issues with hideously
nonportable hacks in programs that use gnulib.
</pre>
</div>
</content>
</entry>
<entry>
<title>implement the nonstandard GNU function fpurge</title>
<updated>2011-06-30T15:42:33+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-06-30T15:42:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=7640497f5f28ddb4aa13528676a99b603320f47e'/>
<id>7640497f5f28ddb4aa13528676a99b603320f47e</id>
<content type='text'>
this is a really ugly and backwards function, but its presence will
prevent lots of broken gnulib software from trying to define its own
version of fpurge and thereby failing to build or worse.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this is a really ugly and backwards function, but its presence will
prevent lots of broken gnulib software from trying to define its own
version of fpurge and thereby failing to build or worse.
</pre>
</div>
</content>
</entry>
<entry>
<title>avoid 64bit warnings when using pointers as entropy for temp names</title>
<updated>2011-06-14T00:52:01+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-06-14T00:52:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=0e1762539c2ad359ba10502cdfb750b5afd2329e'/>
<id>0e1762539c2ad359ba10502cdfb750b5afd2329e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix the last known rounding bug in floating point printing</title>
<updated>2011-05-11T23:58:03+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-05-11T23:58:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=8628eff9128d66cc69dbc301341dc55130a9817e'/>
<id>8628eff9128d66cc69dbc301341dc55130a9817e</id>
<content type='text'>
the observed symptom was that the code was incorrectly rounding up
1.0625 to 1.063 despite the rounding mode being round-to-nearest with
ties broken by rounding to even last place. however, the code was just
not right in many respects, and i'm surprised it worked as well as it
did. this time i tested the values that end up in the variables round,
small, and the expression round+small, and all look good.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the observed symptom was that the code was incorrectly rounding up
1.0625 to 1.063 despite the rounding mode being round-to-nearest with
ties broken by rounding to even last place. however, the code was just
not right in many respects, and i'm surprised it worked as well as it
did. this time i tested the values that end up in the variables round,
small, and the expression round+small, and all look good.
</pre>
</div>
</content>
</entry>
<entry>
<title>reduce some ridiculously large spin counts</title>
<updated>2011-05-07T01:45:48+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-05-07T01:45:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=77f15d108ee021d4dfbeebe793661131c4470d4d'/>
<id>77f15d108ee021d4dfbeebe793661131c4470d4d</id>
<content type='text'>
these should be tweaked according to testing. offhand i know 1000 is
too low and 5000 is likely to be sufficiently high. consider trying to
add futexes to file locking, too...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
these should be tweaked according to testing. offhand i know 1000 is
too low and 5000 is likely to be sufficiently high. consider trying to
add futexes to file locking, too...
</pre>
</div>
</content>
</entry>
<entry>
<title>fix fclose return status logic, again</title>
<updated>2011-05-02T13:18:03+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-05-02T13:18:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=78c808b1264cbbec6c7cf4e9c4f321736a218949'/>
<id>78c808b1264cbbec6c7cf4e9c4f321736a218949</id>
<content type='text'>
the previous fix was incorrect, as it would prevent f-&gt;close(f) from
being called if fflush(f) failed. i believe this was the original
motivation for using | rather than ||. so now let's just use a second
statement to constrain the order of function calls, and to back to
using |.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the previous fix was incorrect, as it would prevent f-&gt;close(f) from
being called if fflush(f) failed. i believe this was the original
motivation for using | rather than ||. so now let's just use a second
statement to constrain the order of function calls, and to back to
using |.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix undefined call order in fclose, possible lost output depending on compiler</title>
<updated>2011-05-02T02:59:14+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-05-02T02:59:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=bd6746732536fdf2ebaadff6f98aee0879b1674d'/>
<id>bd6746732536fdf2ebaadff6f98aee0879b1674d</id>
<content type='text'>
pcc turned up this bug by calling f-&gt;close(f) before fflush(f),
resulting in lost output and error on flush.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pcc turned up this bug by calling f-&gt;close(f) before fflush(f),
resulting in lost output and error on flush.
</pre>
</div>
</content>
</entry>
<entry>
<title>minor optimization in puts: use inline putc_unlocked macro for newline</title>
<updated>2011-05-02T00:12:51+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-05-02T00:12:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=d02c50d6a34ff28db2486fbeac86e513286d52e9'/>
<id>d02c50d6a34ff28db2486fbeac86e513286d52e9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix 2 eof-related bugs in scanf</title>
<updated>2011-04-25T14:40:25+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2011-04-25T14:40:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=5efc6af4ebb9d50eb978d0338835544fdfea0396'/>
<id>5efc6af4ebb9d50eb978d0338835544fdfea0396</id>
<content type='text'>
1. failed match of literal chars from the format string would always
return matching failure rather than input failure at eof, leading to
infinite loops in some programs.

2. unread of eof would wrongly adjust the character counts reported by
%n, yielding an off-by-one error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. failed match of literal chars from the format string would always
return matching failure rather than input failure at eof, leading to
infinite loops in some programs.

2. unread of eof would wrongly adjust the character counts reported by
%n, yielding an off-by-one error.
</pre>
</div>
</content>
</entry>
</feed>
