-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
libc: modify open,close... to _NX_OPEN,_NX_CLOSE #14651
base: master
Are you sure you want to change the base?
Conversation
96e2326
to
30f9320
Compare
[Experimental Bot, please feedback here] No, this PR does not fully meet the NuttX requirements. While it provides a summary of the changes, it lacks crucial details. Specifically:
This PR needs significant revision before it can be considered. The author needs to provide specific details in each section to demonstrate that the change is well-motivated, thoroughly tested, and doesn't introduce unintended consequences. |
30f9320
to
ae2bcaf
Compare
@W-M-R Please fix:
|
@W-M-R I don't remember why these changes were made. Is it necessary to separate kernel from user space APIs? |
@@ -198,7 +200,7 @@ do_nftw(FAR char *path, nftw_cb_t fn, int fdlimit, int flags, int level) | |||
|
|||
if (strlen(de->d_name) > PATH_MAX - j) | |||
{ | |||
set_errno(ENAMETOOLONG); | |||
_NX_SETERRNO(ENAMETOOLONG); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like we need a similar change at line 113 and 164: get_errno
-> _NX_GETERRNO
Sorry, I accidentally disabled this patch. |
ae2bcaf
to
eff7e26
Compare
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
eff7e26
to
4c560a1
Compare
The automatic test failed. Please give me some time to check it carefully. |
need rebase to fix the conflict |
Summary
libc: modify open,close... to _NX_OPEN,_NX_CLOSE
Impact
None
Testing
None