mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 14:23:39 +00:00
Patch shell cursor (#59)
* 调整代码减少bug * 修复换行光标bug Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
@ -398,7 +398,6 @@ uint64_t do_open(const char *filename, int flags)
|
||||
|
||||
// 寻找文件
|
||||
struct vfs_dir_entry_t *dentry = vfs_path_walk(path, 0);
|
||||
|
||||
if (dentry == NULL && flags & O_CREAT)
|
||||
{
|
||||
// 先找到倒数第二级目录
|
||||
|
Reference in New Issue
Block a user