-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[bugfix][component/dfs] fix bugs for function _get_parent_path(). #10539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… Scenario that parent path is root is not considered.
📌 Code Review Assignment🏷️ Tag: componentsReviewers: Maihuanyi Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2025-07-29 10:15 CST)
📝 Review Instructions
|
CI错误与本次PR无关。 |
strdup()函数要手动释放内存的,没看到有释放的操作呀 |
已修复。 |
LGTM |
… Scenario that parent path is root is not considered.
拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
dfs_file.c中的_get_parent_path函数存在如下问题:
你的解决方案是什么 (what is your solution)
修复上述问题,并自测正常。
请提供验证的bsp和config (provide the config and bsp)
BSP:
.config:
action:
]
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0
代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up