<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/src, branch v1.2.5</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>iconv: add cp932 as an alias for shift_jis</title>
<updated>2024-03-01T01:40:03+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2024-03-01T01:40:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=f5dba42f361c2c985dbe7d1087077d57fac561ba'/>
<id>f5dba42f361c2c985dbe7d1087077d57fac561ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>riscv32: add thread support</title>
<updated>2024-02-29T21:36:55+00:00</updated>
<author>
<name>Stefan O'Rear</name>
<email>sorear@fastmail.com</email>
</author>
<published>2020-09-03T09:56:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=b28c44de8c3131b45588f61569b1711c987ba1c3'/>
<id>b28c44de8c3131b45588f61569b1711c987ba1c3</id>
<content type='text'>
Identical to riscv64 except for stack offsets in clone.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Identical to riscv64 except for stack offsets in clone.
</pre>
</div>
</content>
</entry>
<entry>
<title>riscv32: add setjmp/longjmp and sigreturn</title>
<updated>2024-02-29T21:36:55+00:00</updated>
<author>
<name>Stefan O'Rear</name>
<email>sorear@fastmail.com</email>
</author>
<published>2020-09-03T09:54:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=c34a8eedff904b7f3d8479bbec0be534e7a01fbb'/>
<id>c34a8eedff904b7f3d8479bbec0be534e7a01fbb</id>
<content type='text'>
Largely copied from riscv64 but required recalculation of offsets.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Largely copied from riscv64 but required recalculation of offsets.
</pre>
</div>
</content>
</entry>
<entry>
<title>riscv32: add dlsym</title>
<updated>2024-02-29T21:36:55+00:00</updated>
<author>
<name>Stefan O'Rear</name>
<email>sorear@fastmail.com</email>
</author>
<published>2020-09-03T09:46:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=11eee89e14ca7ea2ccc02385c3ab7875fb572d46'/>
<id>11eee89e14ca7ea2ccc02385c3ab7875fb572d46</id>
<content type='text'>
Identical to riscv64.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Identical to riscv64.
</pre>
</div>
</content>
</entry>
<entry>
<title>riscv32: add fenv and math</title>
<updated>2024-02-29T21:36:55+00:00</updated>
<author>
<name>Stefan O'Rear</name>
<email>sorear@fastmail.com</email>
</author>
<published>2020-09-03T09:45:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=b4f7b2ca350ccaa6f58ecec72ac46b7aef22d1c3'/>
<id>b4f7b2ca350ccaa6f58ecec72ac46b7aef22d1c3</id>
<content type='text'>
These are identical to riscv64.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are identical to riscv64.
</pre>
</div>
</content>
</entry>
<entry>
<title>getnameinfo: fix calling __dns_parse with potentially too large rlen</title>
<updated>2024-02-29T15:14:16+00:00</updated>
<author>
<name>Alexey Izbyshev</name>
<email>izbyshev@ispras.ru</email>
</author>
<published>2023-05-08T16:03:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=5c653ccaa1383db0c310abf66d5b6806e83ac18f'/>
<id>5c653ccaa1383db0c310abf66d5b6806e83ac18f</id>
<content type='text'>
__res_send returns the full answer length even if it didn't fit the
buffer, but __dns_parse expects the length of the filled part of the
buffer.

This is analogous to commit 77327ed064bd57b0e1865cd0e0364057ff4a53b4,
which fixed the only other __dns_parse call site.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
__res_send returns the full answer length even if it didn't fit the
buffer, but __dns_parse expects the length of the filled part of the
buffer.

This is analogous to commit 77327ed064bd57b0e1865cd0e0364057ff4a53b4,
which fixed the only other __dns_parse call site.
</pre>
</div>
</content>
</entry>
<entry>
<title>posix_spawn: fix child spinning on write to a broken pipe</title>
<updated>2024-02-29T15:07:03+00:00</updated>
<author>
<name>Alexey Izbyshev</name>
<email>izbyshev@ispras.ru</email>
</author>
<published>2024-02-29T11:13:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=d3a61059c04bd82329707324fac0d48e191edbf4'/>
<id>d3a61059c04bd82329707324fac0d48e191edbf4</id>
<content type='text'>
A child process created by posix_spawn reports errors to its parent via
a pipe, retrying infinitely on any write error to prevent falsely
reporting success. If the (original) parent dies before write is
attempted, there is nobody to report to, but the child will remain
stuck in the write loop forever if SIGPIPE is blocked or ignored.
Fix this by not retrying write if it fails with EPIPE.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A child process created by posix_spawn reports errors to its parent via
a pipe, retrying infinitely on any write error to prevent falsely
reporting success. If the (original) parent dies before write is
attempted, there is nobody to report to, but the child will remain
stuck in the write loop forever if SIGPIPE is blocked or ignored.
Fix this by not retrying write if it fails with EPIPE.
</pre>
</div>
</content>
</entry>
<entry>
<title>loongarch64 __clone: align stack pointer mod 16</title>
<updated>2024-02-26T20:23:01+00:00</updated>
<author>
<name>wanghongliang</name>
<email>wanghongliang@loongson.cn</email>
</author>
<published>2024-02-25T18:12:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=80e3b09823a1d718664bc13704f3f7c19038a19e'/>
<id>80e3b09823a1d718664bc13704f3f7c19038a19e</id>
<content type='text'>
According to LoongArch ABI Specs, stack need to be 16 align to improve
performance and compiler layout of stack frames.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to LoongArch ABI Specs, stack need to be 16 align to improve
performance and compiler layout of stack frames.
</pre>
</div>
</content>
</entry>
<entry>
<title>riscv: fall back to syscall __riscv_flush_icache</title>
<updated>2024-02-26T01:35:24+00:00</updated>
<author>
<name>Stefan O'Rear</name>
<email>sorear@fastmail.com</email>
</author>
<published>2020-09-03T09:23:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=2c887f24da36fa30eccd72e50d91222828fa526e'/>
<id>2c887f24da36fa30eccd72e50d91222828fa526e</id>
<content type='text'>
Matches glibc behavior and fixes a case where we could fall off the
function without returning a value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Matches glibc behavior and fixes a case where we could fall off the
function without returning a value.
</pre>
</div>
</content>
</entry>
<entry>
<title>sh dlsym: fix passing of return address for RTLD_NEXT use</title>
<updated>2024-02-25T20:10:26+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2024-02-25T20:10:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=69670e3bb3f78f9a1d172c9e263ca1b95f8196db'/>
<id>69670e3bb3f78f9a1d172c9e263ca1b95f8196db</id>
<content type='text'>
this code dates back to the original commit of the sh port, with no
real clue as to how the bug was introduced. it looks like it was
written to assume the return address was pushed to the stack like on
x86, rather than arriving in the pr special register.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this code dates back to the original commit of the sh port, with no
real clue as to how the bug was introduced. it looks like it was
written to assume the return address was pushed to the stack like on
x86, rather than arriving in the pr special register.
</pre>
</div>
</content>
</entry>
</feed>
