<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/libc/compilers, branch v4.1.1-beta</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/libc/compilers?h=v4.1.1-beta</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/libc/compilers?h=v4.1.1-beta'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2022-08-16T01:37:24Z</updated>
<entry>
<title>该问题在Keil-MDK中没有一个太好的解决方案。本PR为权衡利弊之后得到的一套解决方案。Keil曾经提供了底层桩函数_sys_ensure，但是目前已经被废弃。因此唯一的解决方案就是每写完一句，就调用fsync去同步一次。</title>
<updated>2022-08-16T01:37:24Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2022-08-15T22:58:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=bd33d37bc49d549357d987ab34aadfd0159b411e'/>
<id>urn:sha1:bd33d37bc49d549357d987ab34aadfd0159b411e</id>
<content type='text'>
该问题在mbedos社区也进行过讨论，他们也面临和我们相同的两个问题：
1. Keil-MDK无有效的fflush解决方案，mbedos依然在使用淘汰的_sys_ensure桩函数。
2. Keil-MDK没有fileno函数，我方少部分软件包因此而无法使用Keil平台编译。
参考：https://github.com/ARMmbed/mbed-os/issues/1601

issue: https://github.com/RT-Thread/rt-thread/issues/4928


经过进一步测试发现，Keil-MDK中的fflush函数已经退化成服务于STDOUT的函数，Keil-MDK内部有一个buffer可以存放fputc(stdout) 发过来的数据，如果调用fflush，这些数据是可以flush出去的。但是如果是真正的文件数据，fflush函数并没有提供任何桩函数接口可以让文件flush数据出去。
</content>
</entry>
<entry>
<title>[exit] 修复_exit函数条件分支未覆盖所有情况的问题 (#6239)</title>
<updated>2022-08-08T09:21:29Z</updated>
<author>
<name>Man, Jianting (Meco)</name>
<email>920369182@qq.com</email>
</author>
<published>2022-08-08T09:21:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8da744a750a859213c66c29fcc618edde008866d'/>
<id>urn:sha1:8da744a750a859213c66c29fcc618edde008866d</id>
<content type='text'>
attach #6229</content>
</entry>
<entry>
<title>[fix] the risk for function exit() when open pthread support. (#6229)</title>
<updated>2022-08-08T03:16:17Z</updated>
<author>
<name>xiangxistu</name>
<email>52819708+xiangxistu@users.noreply.github.com</email>
</author>
<published>2022-08-08T03:16:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e61d05ca1a9e6b8a83c928ab1f893246629bbd2f'/>
<id>urn:sha1:e61d05ca1a9e6b8a83c928ab1f893246629bbd2f</id>
<content type='text'>
* [fix] the risk for function exit() when open pthread support.
* [update] modify annotation from "user data" to "pthread_data".</content>
</entry>
<entry>
<title>使用 AStyle.exe 统一代码格式</title>
<updated>2022-07-27T03:45:29Z</updated>
<author>
<name>Aligagago</name>
<email>1245183400@qq.com</email>
</author>
<published>2022-07-25T02:21:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=250b3cbc16d2632afa392f9857d044dac25b95f8'/>
<id>urn:sha1:250b3cbc16d2632afa392f9857d044dac25b95f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libc] 修复difftime函数在IAR下的编译错误</title>
<updated>2022-07-20T02:07:03Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2022-07-17T06:58:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=a924da830e0105c981bef650cb1391e9580e819d'/>
<id>urn:sha1:a924da830e0105c981bef650cb1391e9580e819d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "解决将RT_NULL当做数字0使用的问题"</title>
<updated>2022-07-01T07:51:28Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2022-07-01T07:00:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9623706effd3f2e3dd1315daa13bc8d0eea168c3'/>
<id>urn:sha1:9623706effd3f2e3dd1315daa13bc8d0eea168c3</id>
<content type='text'>
This reverts commit 6a05ddf63d1202456a37e970e5a9ab58370ed093.
</content>
</entry>
<entry>
<title>解决将RT_NULL当做数字0使用的问题</title>
<updated>2022-07-01T03:39:28Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2022-07-01T01:17:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6a05ddf63d1202456a37e970e5a9ab58370ed093'/>
<id>urn:sha1:6a05ddf63d1202456a37e970e5a9ab58370ed093</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[iar] 修复编译错误 (#6126)</title>
<updated>2022-07-01T01:15:29Z</updated>
<author>
<name>Man, Jianting (Meco)</name>
<email>920369182@qq.com</email>
</author>
<published>2022-07-01T01:15:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e1e1596cbdc44e8c2a41908117185b306df9f4a5'/>
<id>urn:sha1:e1e1596cbdc44e8c2a41908117185b306df9f4a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libc][newlib] format (#6104)</title>
<updated>2022-06-23T06:38:26Z</updated>
<author>
<name>Man, Jianting (Meco)</name>
<email>920369182@qq.com</email>
</author>
<published>2022-06-23T06:38:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8275e90203533d803cb34688b271aeecac85d3d8'/>
<id>urn:sha1:8275e90203533d803cb34688b271aeecac85d3d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix the error return (#6097)</title>
<updated>2022-06-22T03:51:49Z</updated>
<author>
<name>Man, Jianting (Meco)</name>
<email>920369182@qq.com</email>
</author>
<published>2022-06-22T03:51:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d5afcd7f0de49c4df70fcd66aaaf6a62bf0413a6'/>
<id>urn:sha1:d5afcd7f0de49c4df70fcd66aaaf6a62bf0413a6</id>
<content type='text'>
</content>
</entry>
</feed>
