修复readdir以及读磁盘时buf传错问题 (#422)

* 修复readdir以及读磁盘时buf传错问题

* fix potential memory problem

---------

Co-authored-by: longjin <longjin@DragonOS.org>
This commit is contained in:
GnoCiYeH
2023-11-05 23:15:46 +08:00
committed by GitHub
parent 1603395155
commit 1effcfe519
5 changed files with 19 additions and 11 deletions

View File

@ -35,5 +35,4 @@ clean:
libc: $(libc_objs) $(libc_sub_dirs) libc_rust
libc_rust:
rustup default nightly
cargo +nightly build --release --target ./arch/x86_64/x86_64-unknown-none.json
cargo +nightly-2023-01-21 build --release --target ./arch/x86_64/x86_64-unknown-none.json