Commit Graph

17 Commits

Author SHA1 Message Date
geniusgogo 74925f43ed
fix dfs path name overflow. (#8305) 2023-11-28 17:16:21 +08:00
zouziyu2002 ce4674defa
[HUST CSE] add forced type conversion when using 'realloc','malloc','calloc' for better readability 2023-04-28 15:55:28 +01:00
Bernard Xiong 9600b75b55
[DFS] prepare for dfs_v2.0 (#7200)
* [DFS] prepare for dfs_v2. dfs_fd -> dfs_file; dfs_fnode -> dfs_vnode.

* [BSP] fix code analysis warning

* [smart] fix the pointer overflow.

* code format

* [smart] fix the lwp->lwp_obj checking.
2023-04-08 22:25:51 +08:00
Meco Man f58d3c5200 rt_device_write/read return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
breederbai 5e40f3a0d4 修复BUG(simulator):修复bsp/simulator编译报错的BUG 2022-12-29 14:02:08 -05:00
Meco Man 08737c2a26 [simulator] 消除windows下的警告 2022-05-19 09:43:20 +08:00
Man, Jianting (Meco) 6ce4a87492
[fcntl] create new fcntl.h file for vs (#5860)
* [fcntl] create new fcntl.h file for vs
2022-04-24 10:52:57 +08:00
Meco Man 8565fe2448 [simulator] 消除vs下的警告 2022-01-08 15:46:52 +08:00
Meco Man f944ea7690 [bsp][simulator] 刷新工程 移除rtlibc以及重复定义的内容 2021-09-24 23:40:44 -04:00
Meco Man e37abb2b81 [simulator] 手动-自动格式化整理 2021-03-20 22:39:32 +08:00
bernard f0dce37543 [BSP] Update simulator bsp for MSVC. 2017-12-14 10:16:31 +08:00
yygg_you 2d0c10a0ca 修改simulator,匹配RTT 3.0 2017-10-20 13:26:47 +08:00
bernard 5e3b3b19a6 [BSP] change the type of cmd.
1. Change the type of cmd to 'int';
2. Remove RT_LWIP_USING_RT_MEM macro;
2017-10-16 13:23:03 +08:00
Bernard Xiong d2ec1f3eaa [DFS] remove st_blksize in the struct stat 2015-10-01 06:46:52 +00:00
prife c6f88ef726 dfs_win32: add seekdir support 2015-02-02 01:21:40 +08:00
prife ce612157da Merge branch 'master' of github.com:RT-Thread/rt-thread 2013-03-15 16:58:04 +08:00
prife 70611580dc simulator: move {dfs_win32.c,moudule_win32.} from drives/ 2013-03-15 16:54:23 +08:00