<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/libc, branch copilot/fix-riscv-none-job-failure</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/libc?h=copilot%2Ffix-riscv-none-job-failure</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/libc?h=copilot%2Ffix-riscv-none-job-failure'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-08-30T12:49:24Z</updated>
<entry>
<title>[libc][posix] Wake epoll waiters on OOM</title>
<updated>2026-08-30T12:49:24Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-08-23T02:13:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=04b19b35e30308ba5dcbe72919fdf0a97f7ba61f'/>
<id>urn:sha1:04b19b35e30308ba5dcbe72919fdf0a97f7ba61f</id>
<content type='text'>
If waiter allocation fails, mark the fd with POLLERR and wake
epoll_wait() instead of silently dropping the watch.
</content>
</entry>
<entry>
<title>[libc][posix] Fix epoll waiters and LWP syscall copies</title>
<updated>2026-08-30T12:49:24Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-08-22T23:44:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3152ab617b29cfc579badfce358490b7fa8810b1'/>
<id>urn:sha1:3152ab617b29cfc579badfce358490b7fa8810b1</id>
<content type='text'>
修复 epoll waiter 生命周期，避免等待队列节点在回调后失效。
整理 LWP POSIX syscall 的用户空间拷贝和错误返回路径。
</content>
</entry>
<entry>
<title>[fix][libc] fix timegm month overflow calculation</title>
<updated>2026-08-21T01:44:42Z</updated>
<author>
<name>Hui Su</name>
<email>3164683437@qq.com</email>
</author>
<published>2026-08-18T11:34:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=339bffb702b911b55b0e6d54fa5ad9116295f048'/>
<id>urn:sha1:339bffb702b911b55b0e6d54fa5ad9116295f048</id>
<content type='text'>
The original overflow logic used __spm[tm_mon] as the current month's
length when normalizing tm_mday. This produced incorrect dates after
crossing month boundaries and left zero or negative days unnormalized.

Use the difference between adjacent cumulative day offsets with
leap-year handling. Normalize overflow in tm_sec, tm_min, tm_hour,
tm_mday, and tm_mon to keep the affected broken-down fields normalized.

Add regression tests for month boundaries, leap years, large offsets,
zero and negative days, negative time fields, combined overflow, and
boundary carry cases.

Close #11686

Signed-off-by: Hui Su &lt;3164683437@qq.com&gt;
</content>
</entry>
<entry>
<title>[ci]:add armclang BSP build coverage (#11577)</title>
<updated>2026-07-07T03:52:14Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-07-07T03:52:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ee43eeb68577edeb56d2582d657b31e4e29243fb'/>
<id>urn:sha1:ee43eeb68577edeb56d2582d657b31e4e29243fb</id>
<content type='text'>
* ci: add armclang BSP build coverage

* components/libc: avoid armclang errno include recursion</content>
</entry>
<entry>
<title>fix pthread cond wait scheduling</title>
<updated>2026-07-01T03:49:55Z</updated>
<author>
<name>Old-Ding</name>
<email>35417409+Old-Ding@users.noreply.github.com</email>
</author>
<published>2026-06-30T01:53:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0c25ffa18edd8cf66f15b9295995da92b2318aa0'/>
<id>urn:sha1:0c25ffa18edd8cf66f15b9295995da92b2318aa0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[dm][ptp] support Precision Time Protocol (PTP) IEEE 1588 clock</title>
<updated>2026-06-29T08:55:18Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2026-06-14T03:37:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=11ca1660069bbeaba478a8c8be5dbf2a3c3fb60c'/>
<id>urn:sha1:11ca1660069bbeaba478a8c8be5dbf2a3c3fb60c</id>
<content type='text'>
Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>为posix_signal.c文件中的signal函数进行注释</title>
<updated>2026-05-26T06:01:02Z</updated>
<author>
<name>langqwu</name>
<email>1627071801@qq.com</email>
</author>
<published>2026-05-16T09:13:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=208a09e074cf67879b31925ff5d25328781afc2b'/>
<id>urn:sha1:208a09e074cf67879b31925ff5d25328781afc2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>添加 vdso readtime 更新逻辑</title>
<updated>2026-04-29T22:19:58Z</updated>
<author>
<name>rcitach</name>
<email>yearsince@yeah.net</email>
</author>
<published>2026-04-21T10:34:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=03f10a8a4574925711a8e83f7a8c944598a69899'/>
<id>urn:sha1:03f10a8a4574925711a8e83f7a8c944598a69899</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libc][libdl] Fix dlopen() failing to find already-loaded modules</title>
<updated>2026-04-14T02:52:24Z</updated>
<author>
<name>Copilot</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2026-04-14T02:52:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=828de39c9af0f8945573517b6d16cb97b0de5658'/>
<id>urn:sha1:828de39c9af0f8945573517b6d16cb97b0de5658</id>
<content type='text'>
</content>
</entry>
<entry>
<title>components: libc: fix reset static variable unsolved in dlmodule_load_shared_object</title>
<updated>2026-03-12T05:59:15Z</updated>
<author>
<name>kenneth.liu</name>
<email>kenneth.liu@sophgo.com</email>
</author>
<published>2026-03-10T09:02:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=cffaa514e23778ea3700dbac1fbded9a4faeb775'/>
<id>urn:sha1:cffaa514e23778ea3700dbac1fbded9a4faeb775</id>
<content type='text'>
[Problem Description]
In the dlmodule_load_shared_object function,
if a module loading fails once due to an unresolved symbol,
all subsequent attempts to load any module will fail.
The system becomes unable to load modules correctly until a reboot.

[Problem Analysis]
The root cause is that the variable unsolved is defined as static.
Static variables retain their value between function calls.
If a relocation error occurs, unsolved is set to RT_TRUE.
However, when the function returns with an error, the value of unsolved is not reset.
Consequently, on the next function call, unsolved remains RT_TRUE from the previous execution.
This causes the check if (unsolved) to trigger immediately (or after the loop),
forcing the function to return an error regardless of whether the current module is valid or not.

[Solution]
Reset the unsolved variable to RT_FALSE before returning the error code -RT_ERROR.
This ensures the variable is in a clean state for the next function call, preventing state leakage between invocations.

Signed-off-by: Liu Gui &lt;kenneth.liu@sophgo.com&gt;
</content>
</entry>
</feed>
