mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
Patch procf (#90)
* 1234 * 123 * 合并master * procfs * 1 * procfs展示进程基本信息 * modified code * 恢复权限 * 恢复权限 #恢复权限 * modify permission * 删除run.sh * 解决第一次编译时磁盘镜像权限错误的问题 * 恢复.vscode/c_cpp_properties.json * 删除process.c中错误的do_fork * remake procfs * 修改一些变量名 * 修改类型 * modified * data_puts缓冲区溢出后return Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
@ -312,7 +312,6 @@ int shell_cmd_cat(int argc, char **argv)
|
||||
file_size -= l;
|
||||
printf("%s", buf);
|
||||
}
|
||||
|
||||
close(fd);
|
||||
free(buf);
|
||||
free(file_path);
|
||||
|
Reference in New Issue
Block a user